Hi all, I search around the Java-Cas-Client readme and it said CAS supporting JAAS. However, I really cant find much detail on how to configure it on my web application.
https://github.com/apereo/java-cas-client/blob/master/README.md I wanna keep the form based login in my web app and using the CAS backend as authentication service. Anyone has experience or useful link for me? For example, in web.xml, only the user with admin role is able to access the /admin page <security-constraint> <web-resource-collection> <web-resource-name>Admin</web-resource-name> <url-pattern>/admin/*</url-pattern> </web-resource-collection> <auth-constraint> <role-name>admin</role-name> </auth-constraint></security-constraint> <security-role> <role-name>admin</role-name></security-role> <login-config> <auth-method>FORM</auth-method> <form-login-config> <form-login-page>/login.html</form-login-page> <form-error-page>/error.html</form-error-page> </form-login-config></login-config> Many thanks, Steve -- - Website: https://apereo.github.io/cas - Gitter Chatroom: https://gitter.im/apereo/cas - List Guidelines: https://goo.gl/1VRrw7 - Contributions: https://goo.gl/mh7qDG --- You received this message because you are subscribed to the Google Groups "CAS Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/a/apereo.org/d/msgid/cas-user/22c195a6-be47-443a-9652-c2dc3270c0b2%40apereo.org.
