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 -
Constructor Summary
ConstructorsConstructorDescriptionSAMLEntryPoint(org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository repository) -
Method Summary
Modifier and TypeMethodDescriptiongetIdentityProviderUrlMap(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 authenticationMethods inherited from class org.springframework.security.web.authentication.LoginUrlAuthenticationEntryPoint
afterPropertiesSet, buildHttpsRedirectUrlForRequest, buildRedirectUrlToLoginPage, commence, determineUrlToUseForThisRequest, getLoginFormUrl, getPortMapper, getPortResolver, isForceHttps, isUseForward, setForceHttps, setPortMapper, setPortResolver, setUseForward
-
Field Details
-
FILTER_PROCESSING_URL
- See Also:
-
LOGIN_PAGE_URL
- See Also:
-
-
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 representsregistration identifierof RelyingPartyRegistration objectidpRepo- a repository of configuredRelyingPartyRegistrationsobjects- Returns:
- the map of authentication urls for given Identity Providers
-