CAS默认的验证方式是只要用户名和密码相等就通过,实际当中你需要修改:
在\cas-web\WEB-INF下有个deployerConfigContext.xml
里面有个<property name="authenticationHandlers">
就是用来设定验证方式的,默认的是SimpleTestUsernamePasswordAuthenticationHandler
可以改成其他的,比如数据库,LDAP等
在\cas-web\WEB-INF下有个deployerConfigContext.xml
里面有个<property name="authenticationHandlers">
就是用来设定验证方式的,默认的是SimpleTestUsernamePasswordAuthenticationHandler
可以改成其他的,比如数据库,LDAP等
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货