首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 软件管理 > 软件架构设计 >

liferay4.3札记之整合CAS server进行单点登录(SSO)

2012-09-09 
liferay4.3笔记之整合CAS server进行单点登录(SSO)Connector?port8443?maxHttpHeaderSize8192maxTh

liferay4.3笔记之整合CAS server进行单点登录(SSO)
<Connector?port="8443"?maxHttpHeaderSize="8192"
liferay4.3札记之整合CAS server进行单点登录(SSO)maxThreads="150"?minSpareThreads="25"?maxSpareThreads="75"
liferay4.3札记之整合CAS server进行单点登录(SSO)enableLookups="false"?disableUploadTimeout="true"
liferay4.3札记之整合CAS server进行单点登录(SSO)acceptCount="100"?scheme="https"?secure="true"
liferay4.3札记之整合CAS server进行单点登录(SSO)clientAuth="false"?sslProtocol="TLS"?/>
liferay4.3札记之整合CAS server进行单点登录(SSO)


2、设置CAS client
下载cas-client-2.0.11,放至lib下
3、设置数字签名
在java环境中用使用keytool 进行设置

liferay4.3札记之整合CAS server进行单点登录(SSO)D:\Java\jdk1.5\bin>keytool?-genkey?-alias?tomcat?-keypass?changeit?-keyalg?RSAliferay4.3札记之整合CAS server进行单点登录(SSO)输入keystore密码:??changeitliferay4.3札记之整合CAS server进行单点登录(SSO)您的名字与姓氏是什么?liferay4.3札记之整合CAS server进行单点登录(SSO)??[Unknown]:??localhostliferay4.3札记之整合CAS server进行单点登录(SSO)您的组织单位名称是什么?liferay4.3札记之整合CAS server进行单点登录(SSO)??[Unknown]:liferay4.3札记之整合CAS server进行单点登录(SSO)您的组织名称是什么?liferay4.3札记之整合CAS server进行单点登录(SSO)??[Unknown]:liferay4.3札记之整合CAS server进行单点登录(SSO)您所在的城市或区域名称是什么?liferay4.3札记之整合CAS server进行单点登录(SSO)??[Unknown]:liferay4.3札记之整合CAS server进行单点登录(SSO)您所在的州或省份名称是什么?liferay4.3札记之整合CAS server进行单点登录(SSO)??[Unknown]:liferay4.3札记之整合CAS server进行单点登录(SSO)该单位的两字母国家代码是什么liferay4.3札记之整合CAS server进行单点登录(SSO)??[Unknown]:liferay4.3札记之整合CAS server进行单点登录(SSO)CN=localhost,?OU=Unknown,?O=Unknown,?L=Unknown,?ST=Unknown,?C=Unknown?正确吗?liferay4.3札记之整合CAS server进行单点登录(SSO)??[否]:??y

keytool -export -alias tomcat -keypass changeit -file %FILE_NAME%
keytool -import -alias tomcat -file %FILE_NAME% -keypass changeit -keystore %JAVA_HOME%/jre/lib/security/cacerts

?

liferay4.3札记之整合CAS server进行单点登录(SSO)D:\Java\jdk1.5\bin>keytool?-export?-alias?tomcat?-keypass?changeit?-file?c:/server.cart
liferay4.3札记之整合CAS server进行单点登录(SSO)输入keystore密码:??changeit
liferay4.3札记之整合CAS server进行单点登录(SSO)保存在文件中的认证?<c:/server.cart>
liferay4.3札记之整合CAS server进行单点登录(SSO)
liferay4.3札记之整合CAS server进行单点登录(SSO)D:\Java\jdk1.5\bin>keytool?-import?-alias?tomcat?-file?c:/server.cart?-keypass?changeit?-keystore?c:/cacerts
liferay4.3札记之整合CAS server进行单点登录(SSO)输入keystore密码:??changeit
liferay4.3札记之整合CAS server进行单点登录(SSO)Owner:?CN=localhost,?OU=Unknown,?O=Unknown,?L=Unknown,?ST=Unknown,?C=Unknown
liferay4.3札记之整合CAS server进行单点登录(SSO)发照者:?CN=localhost,?OU=Unknown,?O=Unknown,?L=Unknown,?ST=Unknown,?C=Unknown
liferay4.3札记之整合CAS server进行单点登录(SSO)序号:?46d28617
liferay4.3札记之整合CAS server进行单点登录(SSO)有效期间:?Mon?Aug?27?16:06:47?CST?2007?至:?Sun?Nov?25?16:06:47?CST?2007
liferay4.3札记之整合CAS server进行单点登录(SSO)认证指纹:
liferay4.3札记之整合CAS server进行单点登录(SSO)?????????MD5:??0E:27:55:74:D0:56:E8:39:B8:0D:58:1E:69:7B:C6:C5
liferay4.3札记之整合CAS server进行单点登录(SSO)?????????SHA1:?AD:7F:90:87:2B:18:99:07:DE:A6:A8:78:90:9F:86:CB:18:A8:67:03
liferay4.3札记之整合CAS server进行单点登录(SSO)信任这个认证??[否]:??y
liferay4.3札记之整合CAS server进行单点登录(SSO)认证已添加至keystore中



4、设置Liferay Portal

liferay4.3札记之整合CAS server进行单点登录(SSO)<filter>?
liferay4.3札记之整合CAS server进行单点登录(SSO)???<filter-name>CAS?Filter</filter-name>?
liferay4.3札记之整合CAS server进行单点登录(SSO)???<filter-class>edu.yale.its.tp.cas.client.filter.CASFilter</filter-class>?
liferay4.3札记之整合CAS server进行单点登录(SSO)???<init-param>?
liferay4.3札记之整合CAS server进行单点登录(SSO)??????<param-name>edu.yale.its.tp.cas.client.filter.loginUrl</param-name>?
liferay4.3札记之整合CAS server进行单点登录(SSO)??????<param-value>https://localhost:8443/cas-web/login</param-value>?
liferay4.3札记之整合CAS server进行单点登录(SSO)???</init-param>?
liferay4.3札记之整合CAS server进行单点登录(SSO)???<init-param>?
liferay4.3札记之整合CAS server进行单点登录(SSO)??????<param-name>edu.yale.its.tp.cas.client.filter.validateUrl</param-name>?
liferay4.3札记之整合CAS server进行单点登录(SSO)??????<param-value>https://localhost:8443/cas-web/proxyValidate</param-value>?
liferay4.3札记之整合CAS server进行单点登录(SSO)???</init-param>?
liferay4.3札记之整合CAS server进行单点登录(SSO)???<init-param>?
liferay4.3札记之整合CAS server进行单点登录(SSO)??????<param-name>edu.yale.its.tp.cas.client.filter.serviceUrl</param-name>?
liferay4.3札记之整合CAS server进行单点登录(SSO)??????<param-value>http://localhost:8080/c/portal/login</param-value>?
liferay4.3札记之整合CAS server进行单点登录(SSO)???</init-param>?
liferay4.3札记之整合CAS server进行单点登录(SSO)</filter>
liferay4.3札记之整合CAS server进行单点登录(SSO)


5、test SSO

相关问题汇总:

http://wiki.liferay.com/index.php/Single_SignOn_-_Integrating_Liferay_With_CAS_Server#Instructions_for_Liferay_4.2

热点排行