-
Aug 12th, 2011, 05:05 AM
#1
How to handle Authorization when Authentication is performed by CAS?
Hi,
I am trying to have spring security 3.0.5 to handle authorization in a set of web applications in a SSO.
Authentication is performed by CAS 3.4.8 using a JDBC AuthenticationHandler.
I see in the latest release that there is a spring-security-cas-client-3.0.5.RELEASE.jar that seems to build the userdetails directly from cas response and that is exactly what I would like to do.
Are there any samples applications or any tutorial using this jar? Can anybody point me to a good resource to figure out how to implement Authorization when authentication is done with CAS?
Thanks
-
Aug 16th, 2011, 10:31 PM
#2
You should be able to use specify the CasAuthenticationProvider's authenticationUserDetailsService as a GrantedAuthorityFromAssertionAttributesUserDetails Service to resolve this. There is not an exact sample of this, but you should be able to figure it out using the CAS sample's in the CAS portion of the reference. You could also see the CAS Sample application for a full working example that would only need the CasAuthenticationProvider's authenticationUserDetailsService set.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules