Hi all, I would like to using the JAAS to integrate the Java Web application to CAS server.
So the middleware such as tomcat is able to authenticated with server directly without too much code change on the client application. <!*DOCTYPE* web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd" > <*web-app*> <*display-name*>Login Demo Using j_security_check</*display-name*> <!--Defines Security Constraint --> <*security-constraint*> <*display-name*>JSP Demo Constraint</*display-name*> <*web-resource-collection*> <*web-resource-name*>cp</*web-resource-name*> <*description*/> <*url-pattern*>/*</*url-pattern*> </*web-resource-collection*> <*auth-constraint*> <*description*/> <*role-name*>employee</*role-name*> </*auth-constraint*> </*security-constraint*> <!--Defines Login Config --> <*login-config*> <*auth-method*>FORM</*auth-method*> <*realm-name*>files</*realm-name*> <*form-login-config*> <*form-login-page*>/login.jsp</*form-login-page*> <*form-error-page*>/error.jsp</*form-error-page*> </*form-login-config*> </*login-config*> <!--Defines Security Role --> <*security-role*> <*description*/> <*role-name*>employee</*role-name*> </*security-role*> </*web-app*> Does anyone has sample for reference? 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/00539b1d-fad8-4a3b-8553-24bf166a84c2%40apereo.org.
