在liberty中通过LTPA设置单点登录

不要忘了下面的设置,参考: https://www-01.ibm.com/support/knowledgecenter/was_beta_liberty/com.ibm.websphere.wlp.nd.multiplatform.doc/ae/twlp_sec_sso.html?lang=en
如果两个liberty在不同的机器上,他们的域名就需要通过配置统一一下,下面配置方式
<webAppSecurity ssoUseDomainFromURL="true" /> //表示通过分析url判断是否是同一个域名
<webAppSecurity ssoDomainNames="mydomain.com|abc.com|cde.com" /> //直接指定可以sso的域名为列表

Attribute : ssoDomainNames
A pipe (|) separated list of domain names that SSO Cookies should be presented. The equivalent custom property in the
full application server profile is com.ibm.ws.security.config.SingleSignonConfig

 

 
 
posted on 2015-11-09 15:56  yoyo002  阅读(488)  评论(0编辑  收藏  举报