Class SAMLEntryPoint

java.lang.Object
org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
de.hybris.platform.samlsinglesignon.security.SAMLEntryPoint
All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean, org.springframework.security.web.AuthenticationEntryPoint

public class SAMLEntryPoint extends org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
Entry point needed in order to commence saml authentication with Identity Provider
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final String
     
    static final String
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    SAMLEntryPoint(org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository repository)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static Map<String,String>
    getIdentityProviderUrlMap(String authRequestPrefixUrl, org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository idpRepo)
    Returns map of authentication urls for Identity Providers configured in idpRepo, needed in order to start authentication

    Methods inherited from class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint

    afterPropertiesSet, buildHttpsRedirectUrlForRequest, buildRedirectUrlToLoginPage, commence, determineUrlToUseForThisRequest, getLoginFormUrl, getPortMapper, getPortResolver, isForceHttps, isUseForward, setForceHttps, setPortMapper, setPortResolver, setUseForward

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

  • Constructor Details

    • SAMLEntryPoint

      public SAMLEntryPoint(org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository repository)
  • Method Details

    • getIdentityProviderUrlMap

      public static Map<String,String> getIdentityProviderUrlMap(String authRequestPrefixUrl, org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository idpRepo)
      Returns map of authentication urls for Identity Providers configured in idpRepo, needed in order to start authentication
      Parameters:
      authRequestPrefixUrl - authentication endpoint containing variable {registrationId} which represents registration identifier of RelyingPartyRegistration object
      idpRepo - a repository of configured RelyingPartyRegistrations objects
      Returns:
      the map of authentication urls for given Identity Providers