随笔分类 - [技术]CAS
摘要: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...
阅读全文
摘要:最近在帮别人搞CAS,积累点经验 问题一:登录需要用户名和部门名称唯一确定一个用户,并将userid作为唯一标示。 在UsernamePasswordCredentials中添加userid 修改QueryDatabaseAuthenticationHandler.java 的authenticateUsernamePasswordInternal方法,如下: 修改Username...
阅读全文