public class StandardRelyingPartyRegistrationResolver extends Object implements org.springframework.core.convert.converter.Converter<javax.servlet.http.HttpServletRequest,org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration>, org.springframework.security.saml2.provider.service.web.RelyingPartyRegistrationResolver
| Modifier and Type | Field and Description |
|---|---|
private List<String> |
allowedContextPaths |
private static String |
BASE_URL_KEY |
private static org.slf4j.Logger |
logger |
private static String |
REGISTRATION_ID_KEY |
private org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository |
repository |
| Constructor and Description |
|---|
StandardRelyingPartyRegistrationResolver(org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository repository,
List<String> allowedContextPaths)
Standard Resolver with Registration Repository and Allowed Context Paths from application properties
|
| Modifier and Type | Method and Description |
|---|---|
org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration |
convert(javax.servlet.http.HttpServletRequest request)
Convert Request to Relying Party Registration using internal default Registration Identifier
|
private String |
getBaseUrl(javax.servlet.http.HttpServletRequest request) |
org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration |
resolve(javax.servlet.http.HttpServletRequest request,
String relyingPartyRegistrationId)
Resolve Registration from Repository and resolve template locations based on allowed proxy headers
|
private String |
resolveUrl(String templateUrl,
String baseUrl,
org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration registration) |
private static final String BASE_URL_KEY
private static final String REGISTRATION_ID_KEY
private static final org.slf4j.Logger logger
private final org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository repository
public StandardRelyingPartyRegistrationResolver(org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository repository,
List<String> allowedContextPaths)
repository - Relying Party Registration Repository requiredallowedContextPaths - Allowed Context Paths requiredpublic org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration convert(javax.servlet.http.HttpServletRequest request)
convert in interface org.springframework.core.convert.converter.Converter<javax.servlet.http.HttpServletRequest,org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration>request - HTTP Servlet Requestpublic org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration resolve(javax.servlet.http.HttpServletRequest request,
String relyingPartyRegistrationId)
resolve in interface org.springframework.security.saml2.provider.service.web.RelyingPartyRegistrationResolverrequest - HTTP Servlet RequestrelyingPartyRegistrationId - Registration Identifier requestedprivate String resolveUrl(String templateUrl, String baseUrl, org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration registration)
private String getBaseUrl(javax.servlet.http.HttpServletRequest request)
Copyright © 2023 Apache NiFi Project. All rights reserved.