摘要: CAS Server:www.sinosoft.com 代理服务:palace.sinosoft.com 被代理服务:gguser.sinosoft.com 1. 建立key,命令如下: keytool -genkey -alias palace -keyalg RSA -keystore palace -ext san=dns:palace.sinosoft.com,dns:ggu... 阅读全文
posted @ 2016-03-16 20:20 dorothychai 阅读(925) 评论(0) 推荐(0) 编辑
摘要: 最近在帮别人搞CAS,积累点经验 问题一:登录需要用户名和部门名称唯一确定一个用户,并将userid作为唯一标示。 在UsernamePasswordCredentials中添加userid 修改QueryDatabaseAuthenticationHandler.java 的authenticateUsernamePasswordInternal方法,如下: 修改Username... 阅读全文
posted @ 2016-03-16 20:02 dorothychai 阅读(331) 评论(0) 推荐(0) 编辑