今天在ZFZ的CAS测试环境下配置代理,配置环境变量https_proxy和http_proxy=’xxx.xxx.xxx.xxx:port’之后发现还是上不了网
但是我在windows上测试是正常的,说明代理服务器没问题。
而curl可以正常使用,只有sudo git clone 不行
我怀疑是root下没有这个环境变量,去root下改.bashrc后
More.....
今天在ZFZ的CAS测试环境下配置代理,配置环境变量https_proxy和http_proxy=’xxx.xxx.xxx.xxx:port’之后发现还是上不了网
但是我在windows上测试是正常的,说明代理服务器没问题。
而curl可以正常使用,只有sudo git clone 不行
我怀疑是root下没有这个环境变量,去root下改.bashrc后
今天在校内尝试从git.bistu.edu.cn克隆代码,使用https协议时候发现clone失败,于是开始实验,使用curl连接cas.bistu.edu.cn、x.bistu.edu.cn、chat.bistu.edu.cn、community.bistu.edu.cn、site.bistu.edu.cn
发现只有cas和site正常,其他的都报错了,但是浏览器访问并未发现错误。
联想之前ZFZ的safari访问git报错
—————————下面是废话,可以忽略—————————-
第一次见到gradle是在写Android的时Android Studio下方的提示,那时候还没有仔细研究。第二次是在搭建校内中央认证的时候,由于需要研究代码不得不从源码导入idea,但是官方只有一堆源码,没
今天在做cc.iv6.cc的中央认证时候发现很多人注册之后系统都会给我发送一个密码已经重置的链接,感觉不对劲。
于是自己走了一遍注册流程,发现邮件中设置密码的链接有问题。
新版wordpress发送的用户注册邮件链接直接点击后无法设置新密码
http://tomcat.apache.org/tomcat-7.0-doc/ssl-howto.html
1.生成tomcat自签名证书
keytool -genkey -alias tomcat -keyalg RSA -keystore self.jks
Enter keystore password: 设置keystore密码
Re-enter new password: 设置keystore密码
What is your first and last name?
[Unknown]: localhost 输入localhost
What is the name of your organizational unit?
[Unknown]:
What is the name of your organization?
[Unknown]:
What is the name of your City or Locality?
[Unknown]:
What is the name of your State or Province?
[Unknown]:
What is the two-letter
原文:https://apereo.github.io/cas/4.2.x/installation/Database-Authentication.html
|
0 1 2 3 4 5 |
<dependency> <groupId>org.jasig.cas</groupId |
原文:https://apereo.github.io/cas/4.2.x/installation/Configuring-Authentication-Components.html
CAS的认证过程和下面几个组件有关:
PrincipalNameTransformer
把用户输入的id字符串转换为Principal Name,用具体类型的Authentication Handler认证。
AuthenticationManager
认证子系统的入口点,它接收一个或多个凭证和代理认证,传给设置的AuthenticationHandler组件。它收集每次尝试认证