...
Code Block | ||
---|---|---|
| ||
<application-policy name="other"> <!-- A simple server login module, which can be used when the number of users is relatively small. It uses two properties files: users.properties, which holds users (key) and their password (value). roles.properties, which holds users (key) and a comma-separated list of their roles (value). The unauthenticatedIdentity property defines the name of the principal that will be used when a null username and password are presented as is the case for an unuathenticated web client or MDB. If you want to allow such users to be authenticated add the property, e.g., unauthenticatedIdentity="nobody" --> <application-policy name="MyAppRealm"> <authentication> <login-module code="org.jasig.cas.client.jboss.jaas.CasAuthenticatorLoginModule" flag="required"> <module-option name="default-role">app-user</module-option> </login-module> </authentication> </application-policy> ... |
4. Add cas-config-service.xml
...