Class CustomSAMLAuthenticationProvider

  • All Implemented Interfaces:
    org.springframework.beans.factory.InitializingBean, org.springframework.security.authentication.AuthenticationProvider

    public class CustomSAMLAuthenticationProvider
    extends org.springframework.security.saml.SAMLAuthenticationProvider
    • Method Detail

      • authenticate

        public org.springframework.security.core.Authentication authenticate​(org.springframework.security.core.Authentication authentication)
                                                                      throws org.springframework.security.core.AuthenticationException
        Specified by:
        authenticate in interface org.springframework.security.authentication.AuthenticationProvider
        Overrides:
        authenticate in class org.springframework.security.saml.SAMLAuthenticationProvider
        Throws:
        org.springframework.security.core.AuthenticationException
      • getEntitlements

        @Transactional
        public Collection<? extends org.springframework.security.core.GrantedAuthority> getEntitlements​(org.springframework.security.saml.SAMLCredential credential,
                                                                                                        Object userDetail)
        Overrides:
        getEntitlements in class org.springframework.security.saml.SAMLAuthenticationProvider