-
Notifications
You must be signed in to change notification settings - Fork 4
Grails Spring-Security-Cas-Attribs
danieldbower/grails-spring-security-cas-attribs
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Basics: CAS must be configured to expose the SAML protocol Install spring-security-core, spring-security-cas, and this plugin Minimum parameters in Config.groovy: grails.plugins.springsecurity.cas.loginUri = '/login' grails.plugins.springsecurity.cas.serviceUrl = 'http://localhost:8080/myapp/j_spring_cas_security_check' grails.plugins.springsecurity.cas.serverUrlPrefix = 'https://localhost/cas' grails.plugins.springsecurity.cas.userAttribsFromCas = true grails.plugins.springsecurity.cas.authorityAttribNamesFromCas = ['groupMembership'] grails.plugins.springsecurity.userLookup.userDomainClassName = 'com.mypackage.myapp.MyPersonClass' To customize what GrailsUser object is generated, implement UserDetailsFromDomainClassFactory, and add to resources.groovy: beans = { userDetailsFromDomainClassFactory(MyCustomUserDetailsFromDomainClassFactory) } More info at: https://bowerstudios.com/node/674 and https://bowerstudios.com/node/1044
About
Grails Spring-Security-Cas-Attribs
Resources
Stars
Watchers
Forks
Packages 0
No packages published