CAS默认的验证方式是只要用户名和密码相等就通过,实际当中你需要修改:
在\cas-web\WEB-INF下有个deployerConfigContext.xml
里面有个<property name="authenticationHandlers">
就是用来设定验证方式的,默认的是SimpleTestUsernamePasswordAuthenticationHandler
可以改成其他的,比如数据库,LDAP等