Skip to content

Latest commit

 

History

History
 
 

cas-client-spring-security

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Java webapp protected by the Spring Security CAS client (https://github.com/spring-projects/spring-security)

Maven demo using the CAS client from the Spring Security project (v3.2.5) to protect a web application.

Use mvn clean compile jetty:run to start the webapp on http://localhost:8081. The url 'protected/index.jsp' is protected and should trigger a CAS authentication.

Most of the configuration is defined in the src/main/resources/securityContext.xml file.

A specific logout application url is available at: http://localhost:8081/j_spring_security_logout.

Run your CAS server on http://localhost:8080/cas.