Results 1 to 2 of 2

Thread: How to handle Authorization when Authentication is performed by CAS?

  1. #1
    Join Date
    Jul 2005
    Location
    Bordeaux
    Posts
    27

    Question 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

  2. #2
    Join Date
    Jan 2008
    Posts
    1,826

    Default

    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.
    Rob Winch - @rob_winch
    Spring Security Lead
    Pivotal

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
  •