public interface SamlObjectResolver
Modifier and Type | Method and Description |
---|---|
IdentityProviderMetadata |
getLocalIdentityProvider(java.lang.String baseUrl)
Returns the Identity Provider metadata for a locally hosted IDP
|
ServiceProviderMetadata |
getLocalServiceProvider(java.lang.String baseUrl)
Returns the Service Provider metadata for a locally hosted SP
|
IdentityProviderMetadata |
resolveIdentityProvider(Assertion assertion)
Under the assumption that the assertion was sent by an external identity provider
to a local service provider, resolve the configured identity provider
|
IdentityProviderMetadata |
resolveIdentityProvider(ExternalProviderConfiguration idp)
Based on the external configuration of an Identity Provider resolve the metadata for that provider.
|
IdentityProviderMetadata |
resolveIdentityProvider(LogoutRequest logoutRequest)
Under the assumption that the logout request was sent by an external identity provider
to a local service provider, resolve the configured identity provider
|
IdentityProviderMetadata |
resolveIdentityProvider(Response response)
Under the assumption that the Response originated from an Identity Provider
resolve the configured IDP using the response message
|
IdentityProviderMetadata |
resolveIdentityProvider(java.lang.String entityId)
Given a known entityId resolve a configured identity provider
|
ServiceProviderMetadata |
resolveServiceProvider(Assertion localAssertion)
For the local identity provider, resolve the external service provider
that the assertion was sent to.
|
ServiceProviderMetadata |
resolveServiceProvider(AuthenticationRequest request)
Under the assumption that the authentication request was sent from
a service provider to the local identity provider, resolve the
configured external service provider's metadata
|
ServiceProviderMetadata |
resolveServiceProvider(ExternalProviderConfiguration sp)
Based on the external configuration of a Service Provider resolve the metadata for that provider.
|
ServiceProviderMetadata |
resolveServiceProvider(LogoutRequest logoutRequest)
Under the assumption that the logout request was sent by an external service provider
to a local identity provider, resolve the configured service provider
|
ServiceProviderMetadata |
resolveServiceProvider(java.lang.String entityId)
Given a known entityId resolve a configured service provider
|
ServiceProviderMetadata getLocalServiceProvider(java.lang.String baseUrl)
baseUrl
- the base URL that the SP is hosted at.
This parameter is used to configure URLs in
in the metadata data.IdentityProviderMetadata getLocalIdentityProvider(java.lang.String baseUrl)
baseUrl
- the base URL that the SP is hosted at.
This parameter is used to configure URLs in
in the metadata data.IdentityProviderMetadata resolveIdentityProvider(Response response)
response
- a SAML response message received by a Service ProviderIdentityProviderMetadata resolveIdentityProvider(java.lang.String entityId)
entityId
- entityId of identity providerIdentityProviderMetadata resolveIdentityProvider(ExternalProviderConfiguration idp)
idp
- Identity Provider configurationIdentityProviderMetadata resolveIdentityProvider(LogoutRequest logoutRequest)
logoutRequest
- the logout request sent by the IDP and received by local SPIdentityProviderMetadata resolveIdentityProvider(Assertion assertion)
assertion
- the assertion request sent by the IDP and received by the local SPServiceProviderMetadata resolveServiceProvider(java.lang.String entityId)
entityId
- entityId of service providerServiceProviderMetadata resolveServiceProvider(AuthenticationRequest request)
request
- the request that was received by the local identity providerServiceProviderMetadata resolveServiceProvider(ExternalProviderConfiguration sp)
sp
- Service Provider configurationServiceProviderMetadata resolveServiceProvider(LogoutRequest logoutRequest)
logoutRequest
- the logout request sent by the SPServiceProviderMetadata resolveServiceProvider(Assertion localAssertion)
localAssertion
- the assertion that the local IDP issued