A B C D E F G H I L M O P R S T U V W _
All Classes All Packages
All Classes All Packages
All Classes All Packages
A
- AbstractSaml2AuthenticationRequest - Class in org.springframework.security.saml2.provider.service.authentication
-
Data holder for
AuthNRequest
parameters to be sent using either theSaml2MessageBinding.POST
orSaml2MessageBinding.REDIRECT
binding. - AbstractSaml2AuthenticationRequest.Builder<T extends AbstractSaml2AuthenticationRequest.Builder<T>> - Class in org.springframework.security.saml2.provider.service.authentication
-
A builder for
AbstractSaml2AuthenticationRequest
and its subclasses. - assertingPartyDetails(Consumer<RelyingPartyRegistration.AssertingPartyDetails.Builder>) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Apply this
Consumer
to further configure the Asserting Party details - assertionConsumerServiceBinding(Saml2MessageBinding) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Set the AssertionConsumerService Binding.
- assertionConsumerServiceLocation(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Set the AssertionConsumerService Location.
- assertionConsumerServiceUrl(String) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest.Builder
-
Deprecated.Sets the
assertionConsumerServiceURL
for the authentication request. - assertionConsumerServiceUrl(String) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext.Builder
-
Sets the
assertionConsumerServiceURL
for the authentication request. - assertionConsumerServiceUrlTemplate(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Deprecated.
- attemptAuthentication(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter
- authenticate(Authentication) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
- authenticate(Authentication) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.
- authenticationRequestUri(String) - Method in class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest.Builder
-
Sets the
authenticationRequestUri
, a URL that will receive the AuthNRequest message
B
- binding(Saml2MessageBinding) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails.Builder
-
Deprecated.Sets the message binding to be used when sending an AuthNRequest message
- build() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest.Builder
-
Deprecated.Creates a
Saml2AuthenticationRequest
object. - build() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext.Builder
-
Creates a
Saml2AuthenticationRequestContext
object. - build() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2PostAuthenticationRequest.Builder
-
Constructs an immutable
Saml2PostAuthenticationRequest
object. - build() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest.Builder
-
Constructs an immutable
Saml2RedirectAuthenticationRequest
object. - build() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Creates an immutable ProviderDetails object representing the configuration for an Identity Provider, IDP
- build() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Constructs a RelyingPartyRegistration object based on the builder configurations
- build() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails.Builder
-
Deprecated.Creates an immutable ProviderDetails object representing the configuration for an Identity Provider, IDP
- builder() - Static method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest
-
Deprecated.A builder for
Saml2AuthenticationRequest
. - builder() - Static method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
-
A builder for
Saml2AuthenticationRequestContext
. - Builder() - Constructor for class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest.Builder
- Builder() - Constructor for class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
- Builder() - Constructor for class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails.Builder
-
Deprecated.
C
- canRead(Class<?>, MediaType) - Method in class org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistrationBuilderHttpMessageConverter
- canWrite(Class<?>, MediaType) - Method in class org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistrationBuilderHttpMessageConverter
- concat(Saml2Error) - Method in class org.springframework.security.saml2.core.Saml2ResponseValidatorResult
-
Return a new
Saml2ResponseValidatorResult
that contains both the givenSaml2Error
and the errors from the result - concat(Saml2ResponseValidatorResult) - Method in class org.springframework.security.saml2.core.Saml2ResponseValidatorResult
-
Return a new
Saml2ResponseValidatorResult
that contains the errors from the givenSaml2ResponseValidatorResult
as well as this result. - convert(HttpServletRequest) - Method in class org.springframework.security.saml2.provider.service.web.DefaultRelyingPartyRegistrationResolver
- convert(HttpServletRequest) - Method in class org.springframework.security.saml2.provider.service.web.Saml2AuthenticationTokenConverter
- createAuthenticationRequest(Saml2AuthenticationRequest) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationRequestFactory
-
Deprecated.
- createAuthenticationRequest(Saml2AuthenticationRequest) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationRequestFactory
-
Deprecated.
- createAuthenticationRequest(Saml2AuthenticationRequest) - Method in interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestFactory
-
Deprecated.please use
Saml2AuthenticationRequestFactory.createRedirectAuthenticationRequest(Saml2AuthenticationRequestContext)
orSaml2AuthenticationRequestFactory.createPostAuthenticationRequest(Saml2AuthenticationRequestContext)
This method will be removed in future versions of Spring Security - createDefaultAssertionValidator() - Static method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
-
Construct a default strategy for validating each SAML 2.0 Assertion and associated
Authentication
token - createDefaultAssertionValidator() - Static method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.Construct a default strategy for validating each SAML 2.0 Assertion and associated
Authentication
token - createDefaultAssertionValidator(Converter<OpenSaml4AuthenticationProvider.AssertionToken, ValidationContext>) - Static method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
-
Construct a default strategy for validating each SAML 2.0 Assertion and associated
Authentication
token - createDefaultAssertionValidator(Converter<OpenSamlAuthenticationProvider.AssertionToken, ValidationContext>) - Static method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.Construct a default strategy for validating each SAML 2.0 Assertion and associated
Authentication
token - createDefaultResponseAuthenticationConverter() - Static method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
-
Construct a default strategy for converting a SAML 2.0 Response and
Authentication
token into aSaml2Authentication
- createDefaultResponseAuthenticationConverter() - Static method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.Construct a default strategy for converting a SAML 2.0 Response and
Authentication
token into aSaml2Authentication
- createPostAuthenticationRequest(Saml2AuthenticationRequestContext) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationRequestFactory
-
Creates all the necessary AuthNRequest parameters for a POST binding.
- createPostAuthenticationRequest(Saml2AuthenticationRequestContext) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationRequestFactory
-
Deprecated.
- createPostAuthenticationRequest(Saml2AuthenticationRequestContext) - Method in interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestFactory
-
Creates all the necessary AuthNRequest parameters for a POST binding.
- createRedirectAuthenticationRequest(Saml2AuthenticationRequestContext) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationRequestFactory
-
Creates all the necessary AuthNRequest parameters for a REDIRECT binding.
- createRedirectAuthenticationRequest(Saml2AuthenticationRequestContext) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationRequestFactory
-
Deprecated.
- createRedirectAuthenticationRequest(Saml2AuthenticationRequestContext) - Method in interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestFactory
-
Creates all the necessary AuthNRequest parameters for a REDIRECT binding.
- credentials(Consumer<Collection<Saml2X509Credential>>) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest.Builder
-
Deprecated.Modifies the collection of
Saml2X509Credential
credentials used in communication between IDP and SP, specifically signing the authentication request. - credentials(Consumer<Collection<Saml2X509Credential>>) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Deprecated.Use
RelyingPartyRegistration.Builder.signingX509Credentials
orRelyingPartyRegistration.Builder.decryptionX509Credentials
instead for relying party keys orRelyingPartyRegistration.AssertingPartyDetails.Builder.verificationX509Credentials
orRelyingPartyRegistration.AssertingPartyDetails.Builder.encryptionX509Credentials
for asserting party keys
D
- decryption(PrivateKey, X509Certificate) - Static method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Create a
Saml2X509Credential
that can be used for decryption. - DECRYPTION - org.springframework.security.saml2.core.Saml2X509Credential.Saml2X509CredentialType
- DECRYPTION - org.springframework.security.saml2.credentials.Saml2X509Credential.Saml2X509CredentialType
-
Deprecated.
- DECRYPTION_ERROR - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
The system failed to decrypt an assertion or a name identifier.
- DECRYPTION_ERROR - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.The system failed to decrypt an assertion or a name identifier.
- decryptionX509Credentials(Consumer<Collection<Saml2X509Credential>>) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Apply this
Consumer
to theCollection
ofSaml2X509Credential
s for the purposes of modifying theCollection
- DEFAULT_FILTER_PROCESSES_URI - Static variable in class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter
- DEFAULT_METADATA_FILE_NAME - Static variable in class org.springframework.security.saml2.provider.service.web.Saml2MetadataFilter
- DefaultRelyingPartyRegistrationResolver - Class in org.springframework.security.saml2.provider.service.web
-
A
Converter
that resolves aRelyingPartyRegistration
by extracting the registration id from the request, querying aRelyingPartyRegistrationRepository
, and resolving any template values. - DefaultRelyingPartyRegistrationResolver(RelyingPartyRegistrationRepository) - Constructor for class org.springframework.security.saml2.provider.service.web.DefaultRelyingPartyRegistrationResolver
- DefaultSaml2AuthenticatedPrincipal - Class in org.springframework.security.saml2.provider.service.authentication
-
Default implementation of a
Saml2AuthenticatedPrincipal
. - DefaultSaml2AuthenticatedPrincipal(String, Map<String, List<Object>>) - Constructor for class org.springframework.security.saml2.provider.service.authentication.DefaultSaml2AuthenticatedPrincipal
- DefaultSaml2AuthenticationRequestContextResolver - Class in org.springframework.security.saml2.provider.service.web
-
The default implementation for
Saml2AuthenticationRequestContextResolver
which uses the current request and given relying party to formulate aSaml2AuthenticationRequestContext
- DefaultSaml2AuthenticationRequestContextResolver(Converter<HttpServletRequest, RelyingPartyRegistration>) - Constructor for class org.springframework.security.saml2.provider.service.web.DefaultSaml2AuthenticationRequestContextResolver
- destination(String) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest.Builder
-
Deprecated.Sets the Destination for the authentication request.
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter
- doFilterInternal(HttpServletRequest, HttpServletResponse, FilterChain) - Method in class org.springframework.security.saml2.provider.service.web.Saml2MetadataFilter
E
- encryption(X509Certificate) - Static method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Create a
Saml2X509Credential
that can be used for encryption. - ENCRYPTION - org.springframework.security.saml2.core.Saml2X509Credential.Saml2X509CredentialType
- ENCRYPTION - org.springframework.security.saml2.credentials.Saml2X509Credential.Saml2X509CredentialType
-
Deprecated.
- encryptionX509Credentials(Consumer<Collection<Saml2X509Credential>>) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Apply this
Consumer
to the list ofSaml2X509Credential
s - entityId(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Set the asserting party's EntityID.
- entityId(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Set the relying party's EntityID.
- entityId(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails.Builder
-
Deprecated.Set the asserting party's EntityID.
- equals(Object) - Method in class org.springframework.security.saml2.core.Saml2X509Credential
- equals(Object) - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.
F
- failure(Collection<Saml2Error>) - Static method in class org.springframework.security.saml2.core.Saml2ResponseValidatorResult
-
Construct a failure
Saml2ResponseValidatorResult
with the provided detail - failure(Saml2Error...) - Static method in class org.springframework.security.saml2.core.Saml2ResponseValidatorResult
-
Construct a failure
Saml2ResponseValidatorResult
with the provided detail - findByRegistrationId(String) - Method in class org.springframework.security.saml2.provider.service.registration.InMemoryRelyingPartyRegistrationRepository
- findByRegistrationId(String) - Method in interface org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrationRepository
-
Returns the relying party registration identified by the provided
registrationId
, ornull
if not found. - from(String) - Static method in enum org.springframework.security.saml2.provider.service.registration.Saml2MessageBinding
-
Attempt to resolve the provided algorithm name to a
Saml2MessageBinding
. - fromMetadataLocation(String) - Static method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistrations
-
Return a
RelyingPartyRegistration.Builder
based off of the given SAML 2.0 Asserting Party (IDP) metadata location.
G
- getAssertingPartyDetails() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Get the configuration details for the Asserting Party
- getAssertion() - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider.AssertionToken
- getAssertion() - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider.AssertionToken
-
Deprecated.
- getAssertionConsumerServiceBinding() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Get the AssertionConsumerService Binding.
- getAssertionConsumerServiceLocation() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Get the AssertionConsumerService Location.
- getAssertionConsumerServiceUrl() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest
-
Deprecated.Returns the desired
AssertionConsumerServiceUrl
that this SP wishes to receive the assertion on. - getAssertionConsumerServiceUrl() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
-
Returns the desired
AssertionConsumerServiceUrl
that this SP wishes to receive the assertion on. - getAssertionConsumerServiceUrlTemplate() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Deprecated.
- getAttribute(String) - Method in interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal
-
Get the Saml2 token attribute by name
- getAttributes() - Method in class org.springframework.security.saml2.provider.service.authentication.DefaultSaml2AuthenticatedPrincipal
- getAttributes() - Method in interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal
-
Get the Saml2 token attributes
- getAuthenticationRequestUri() - Method in class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest
-
Returns the URI endpoint that this AuthNRequest should be sent to.
- getBinding() - Method in class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest
-
Returns the binding this AuthNRequest will be sent and encoded with.
- getBinding() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2PostAuthenticationRequest
- getBinding() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest
- getBinding() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails
-
Deprecated.
- getCertificate() - Method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Get the public certificate for this credential
- getCertificate() - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Returns the X509 certificate for ths credential.
- getCredentials() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2Authentication
- getCredentials() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest
-
Deprecated.Returns a list of credentials that can be used to sign the
AuthNRequest
object - getCredentials() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Returns the decoded and inflated SAML 2.0 Response XML object as a string
- getCredentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Deprecated.Instead of retrieving all credentials, use the appropriate method for obtaining the correct type
- getCredentialTypes() - Method in class org.springframework.security.saml2.core.Saml2X509Credential
-
List all this credential's intended usages
- getCredentialTypes() - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Returns the credential types for this credential.
- getDecryptionCredentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Deprecated.
- getDecryptionX509Credentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Get the
Collection
of decryptionSaml2X509Credential
s associated with this relying party - getDescription() - Method in class org.springframework.security.saml2.core.Saml2Error
-
Returns the error description.
- getDescription() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2Error
-
Deprecated.Returns the error description.
- getDestination() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest
-
Deprecated.returns the destination, the WEB Single Sign On URI, for this authentication request.
- getDestination() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
-
Returns the
Destination
, the WEB Single Sign On URI, for this authentication request. - getEncryptionCredentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Deprecated.
- getEncryptionX509Credentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails
-
Get all encryption
Saml2X509Credential
s associated with this asserting party - getEntityId() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails
-
Get the asserting party's EntityID.
- getEntityId() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Get the relying party's EntityID.
- getEntityId() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails
-
Deprecated.Returns the entity ID of the Identity Provider
- getError() - Method in exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Deprecated.Use
Saml2AuthenticationException.getSaml2Error()
instead - getErrorCode() - Method in class org.springframework.security.saml2.core.Saml2Error
-
Returns the error code.
- getErrorCode() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2Error
-
Deprecated.Returns the error code.
- getErrors() - Method in class org.springframework.security.saml2.core.Saml2ResponseValidatorResult
-
Return error details regarding the validation attempt
- getFirstAttribute(String) - Method in interface org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticatedPrincipal
-
Get the first value of Saml2 token attribute by name
- getIdpEntityId() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Deprecated.Use
getRelyingPartyRegistration().getAssertingPartyDetails().getEntityId()
instead - getIdpWebSsoUrl() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
- getIssuer() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest
-
Deprecated.returns the issuer, the local SP entity ID, for this authentication request.
- getIssuer() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
-
Returns the
Issuer
value to be used in theAuthNRequest
object. - getLocalEntityIdTemplate() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Deprecated.Use
RelyingPartyRegistration.getEntityId()
instead - getLocalSpEntityId() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Deprecated.Use
getRelyingPartyRegistration().getEntityId()
instead - getName() - Method in class org.springframework.security.saml2.provider.service.authentication.DefaultSaml2AuthenticatedPrincipal
- getPrincipal() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2Authentication
- getPrincipal() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Always returns null.
- getPrivateKey() - Method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Get the private key for this credential
- getPrivateKey() - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Returns the private key, or null if this credential type doesn't require one.
- getProviderDetails() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Deprecated.
- getRecipientUri() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Deprecated.Use
getRelyingPartyRegistration().getAssertionConsumerServiceLocation()
instead - getRegistrationId() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Get the unique registration id for this RP/AP pair
- getRelayState() - Method in class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest
-
Returns the RelayState value, if present in the parameters
- getRelayState() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
-
Returns the RelayState value, if present in the parameters
- getRelyingPartyRegistration() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
-
Returns the
RelyingPartyRegistration
configuration for which the AuthNRequest is intended for. - getRelyingPartyRegistration() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Get the resolved
RelyingPartyRegistration
associated with the request - getRemoteIdpEntityId() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
- getResponse() - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider.ResponseToken
- getResponse() - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider.ResponseToken
-
Deprecated.
- getSaml2Error() - Method in exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Get the associated
Saml2Error
- getSaml2Response() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2Authentication
-
Returns the SAML response object, as decoded XML.
- getSaml2Response() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Returns inflated and decoded XML representation of the SAML 2 Response
- getSamlRequest() - Method in class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest
-
Returns the AuthNRequest XML value to be sent.
- getSigAlg() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest
-
Returns the SigAlg value for
Saml2MessageBinding.REDIRECT
requests - getSignature() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest
-
Returns the Signature value for
Saml2MessageBinding.REDIRECT
requests - getSigningAlgorithms() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails
-
Get the list of org.opensaml.saml.ext.saml2alg.SigningMethod Algorithms for this asserting party, in preference order.
- getSigningCredentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Deprecated.
- getSigningX509Credentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Get the
Collection
of signingSaml2X509Credential
s associated with this relying party - getSingleSignOnServiceBinding() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails
-
Get the SingleSignOnService Binding.
- getSingleSignOnServiceLocation() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails
-
Get the SingleSignOnService Location.
- getSupportedMediaTypes() - Method in class org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistrationBuilderHttpMessageConverter
- getToken() - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider.AssertionToken
- getToken() - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider.ResponseToken
- getToken() - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider.AssertionToken
-
Deprecated.
- getToken() - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider.ResponseToken
-
Deprecated.
- getUrn() - Method in enum org.springframework.security.saml2.provider.service.registration.Saml2MessageBinding
-
Returns the URN value from the SAML 2 specification for this binding.
- getVerificationCredentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Deprecated.Use {code #getAssertingPartyDetails().getSigningX509Credentials()} instead
- getVerificationX509Credentials() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails
-
Get all verification
Saml2X509Credential
s associated with this asserting party - getWantAuthnRequestsSigned() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails
-
Get the WantAuthnRequestsSigned setting, indicating the asserting party's preference that relying parties should sign the AuthnRequest before sending.
- getWebSsoUrl() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails
-
Deprecated.Contains the URL for which to send the SAML 2 Authentication Request to initiate a single sign on flow.
- getX509Credentials() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Deprecated.Get the credentials through
Saml2AuthenticationToken.getRelyingPartyRegistration()
instead
H
- hasErrors() - Method in class org.springframework.security.saml2.core.Saml2ResponseValidatorResult
-
Say whether this result indicates success
- hashCode() - Method in class org.springframework.security.saml2.core.Saml2X509Credential
- hashCode() - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.
I
- idpWebSsoUrl(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Deprecated.use
#assertingPartyDetails(Consumer<AssertingPartyDetails.Builder >)
- initialize() - Static method in class org.springframework.security.saml2.core.OpenSamlInitializationService
-
Ready OpenSAML for use and configure it with reasonable defaults.
- InMemoryRelyingPartyRegistrationRepository - Class in org.springframework.security.saml2.provider.service.registration
- InMemoryRelyingPartyRegistrationRepository(Collection<RelyingPartyRegistration>) - Constructor for class org.springframework.security.saml2.provider.service.registration.InMemoryRelyingPartyRegistrationRepository
- InMemoryRelyingPartyRegistrationRepository(RelyingPartyRegistration...) - Constructor for class org.springframework.security.saml2.provider.service.registration.InMemoryRelyingPartyRegistrationRepository
- INTERNAL_VALIDATION_ERROR - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
An error happened during validation.
- INTERNAL_VALIDATION_ERROR - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.An error happened during validation.
- INVALID_ASSERTION - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
The assertion was not valid.
- INVALID_ASSERTION - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.The assertion was not valid.
- INVALID_DESTINATION - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
Response destination does not match the request URL.
- INVALID_DESTINATION - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.Response destination does not match the request URL.
- INVALID_ISSUER - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
An Issuer element contained a value that didn't https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf#page=15
- INVALID_ISSUER - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.An Issuer element contained a value that didn't https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf#page=15
- INVALID_RESPONSE - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
Response is invalid in a general way.
- INVALID_SIGNATURE - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
The signature of response or assertion was invalid.
- INVALID_SIGNATURE - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.The signature of response or assertion was invalid.
- isAuthenticated() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
- isDecryptionCredential() - Method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Indicate whether this credential can be used for decryption
- isDecryptionCredential() - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Returns true if the credential has a private key and can be used for decryption, the types will contain
Saml2X509Credential.Saml2X509CredentialType.DECRYPTION
. - isEncryptionCredential() - Method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Indicate whether this credential can be used for encryption
- isEncryptionCredential() - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Returns true if the credential has a certificate and can be used for signature verification, the types will contain
Saml2X509Credential.Saml2X509CredentialType.VERIFICATION
. - isSignatureVerficationCredential() - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Returns true if the credential has a certificate and can be used for signature verification, the types will contain
Saml2X509Credential.Saml2X509CredentialType.VERIFICATION
. - isSignAuthNRequest() - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails
-
Deprecated.
- isSigningCredential() - Method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Indicate whether this credential can be used for signing
- isSigningCredential() - Method in class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Returns true if the credential has a private key and can be used for signing, the types will contain
Saml2X509Credential.Saml2X509CredentialType.SIGNING
. - issuer(String) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest.Builder
-
Deprecated.Sets the issuer for the authentication request.
- issuer(String) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext.Builder
-
Sets the issuer for the authentication request.
- isVerificationCredential() - Method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Indicate whether this credential can be used for verification
- iterator() - Method in class org.springframework.security.saml2.provider.service.registration.InMemoryRelyingPartyRegistrationRepository
L
- localEntityIdTemplate(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Deprecated.Use
RelyingPartyRegistration.Builder.entityId
instead
M
- MALFORMED_RESPONSE_DATA - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
The response data is malformed or incomplete.
- MALFORMED_RESPONSE_DATA - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.The response data is malformed or incomplete.
O
- OpenSaml4AuthenticationProvider - Class in org.springframework.security.saml2.provider.service.authentication
-
Implementation of
AuthenticationProvider
for SAML authentications when receiving aResponse
object containing anAssertion
. - OpenSaml4AuthenticationProvider() - Constructor for class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
-
Creates an
OpenSaml4AuthenticationProvider
- OpenSaml4AuthenticationProvider.AssertionToken - Class in org.springframework.security.saml2.provider.service.authentication
-
A tuple containing an OpenSAML
Assertion
and its associated authentication token. - OpenSaml4AuthenticationProvider.ResponseToken - Class in org.springframework.security.saml2.provider.service.authentication
-
A tuple containing an OpenSAML
Response
and its associated authentication token. - OpenSaml4AuthenticationRequestFactory - Class in org.springframework.security.saml2.provider.service.authentication
-
A
Saml2AuthenticationRequestFactory
that generates, signs, and serializes a SAML 2.0 AuthnRequest using OpenSAML 4 - OpenSaml4AuthenticationRequestFactory() - Constructor for class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationRequestFactory
-
Creates an
OpenSaml4AuthenticationRequestFactory
- OpenSamlAuthenticationProvider - Class in org.springframework.security.saml2.provider.service.authentication
-
Deprecated.Because OpenSAML 3 has reached End-of-Life, please update to
OpenSaml4AuthenticationProvider
- OpenSamlAuthenticationProvider() - Constructor for class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.Creates an
OpenSamlAuthenticationProvider
- OpenSamlAuthenticationProvider.AssertionToken - Class in org.springframework.security.saml2.provider.service.authentication
-
Deprecated.A tuple containing an OpenSAML
Assertion
and its associated authentication token. - OpenSamlAuthenticationProvider.ResponseToken - Class in org.springframework.security.saml2.provider.service.authentication
-
Deprecated.A tuple containing an OpenSAML
Response
and its associated authentication token. - OpenSamlAuthenticationRequestFactory - Class in org.springframework.security.saml2.provider.service.authentication
-
Deprecated.Because OpenSAML 3 has reached End-of-Life, please update to
OpenSaml4AuthenticationRequestFactory
- OpenSamlAuthenticationRequestFactory() - Constructor for class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationRequestFactory
-
Deprecated.Creates an
OpenSamlAuthenticationRequestFactory
- OpenSamlInitializationService - Class in org.springframework.security.saml2.core
-
An initialization service for initializing OpenSAML.
- OpenSamlMetadataResolver - Class in org.springframework.security.saml2.provider.service.metadata
-
Resolves the SAML 2.0 Relying Party Metadata for a given
RelyingPartyRegistration
using the OpenSAML API. - OpenSamlMetadataResolver() - Constructor for class org.springframework.security.saml2.provider.service.metadata.OpenSamlMetadataResolver
- OpenSamlRelyingPartyRegistrationBuilderHttpMessageConverter - Class in org.springframework.security.saml2.provider.service.registration
-
An
HttpMessageConverter
that takes anIDPSSODescriptor
in an HTTP response and converts it into aRelyingPartyRegistration.Builder
. - OpenSamlRelyingPartyRegistrationBuilderHttpMessageConverter() - Constructor for class org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistrationBuilderHttpMessageConverter
- org.springframework.security.saml2 - package org.springframework.security.saml2
- org.springframework.security.saml2.core - package org.springframework.security.saml2.core
- org.springframework.security.saml2.credentials - package org.springframework.security.saml2.credentials
- org.springframework.security.saml2.provider.service.authentication - package org.springframework.security.saml2.provider.service.authentication
- org.springframework.security.saml2.provider.service.metadata - package org.springframework.security.saml2.provider.service.metadata
- org.springframework.security.saml2.provider.service.registration - package org.springframework.security.saml2.provider.service.registration
- org.springframework.security.saml2.provider.service.servlet.filter - package org.springframework.security.saml2.provider.service.servlet.filter
- org.springframework.security.saml2.provider.service.web - package org.springframework.security.saml2.provider.service.web
P
- POST - org.springframework.security.saml2.provider.service.registration.Saml2MessageBinding
- providerDetails(Consumer<RelyingPartyRegistration.ProviderDetails.Builder>) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
R
- read(Class<? extends RelyingPartyRegistration.Builder>, HttpInputMessage) - Method in class org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistrationBuilderHttpMessageConverter
- REDIRECT - org.springframework.security.saml2.provider.service.registration.Saml2MessageBinding
- registrationId(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Sets the
registrationId
template. - relayState(String) - Method in class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest.Builder
-
Sets the
RelayState
parameter that will accompany this AuthNRequest - relayState(String) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext.Builder
-
Sets the
RelayState
parameter that will accompany this AuthNRequest - RELYING_PARTY_REGISTRATION_NOT_FOUND - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
The relying party registration was not found.
- RELYING_PARTY_REGISTRATION_NOT_FOUND - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.The relying party registration was not found.
- relyingPartyRegistration(RelyingPartyRegistration) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext.Builder
-
Sets the
RelyingPartyRegistration
used to build the authentication request. - RelyingPartyRegistration - Class in org.springframework.security.saml2.provider.service.registration
-
Represents a configured relying party (aka Service Provider) and asserting party (aka Identity Provider) pair.
- RelyingPartyRegistration.AssertingPartyDetails - Class in org.springframework.security.saml2.provider.service.registration
-
The configuration metadata of the Asserting party
- RelyingPartyRegistration.AssertingPartyDetails.Builder - Class in org.springframework.security.saml2.provider.service.registration
- RelyingPartyRegistration.Builder - Class in org.springframework.security.saml2.provider.service.registration
- RelyingPartyRegistration.ProviderDetails - Class in org.springframework.security.saml2.provider.service.registration
-
Deprecated.Use
RelyingPartyRegistration.AssertingPartyDetails
instead - RelyingPartyRegistration.ProviderDetails.Builder - Class in org.springframework.security.saml2.provider.service.registration
-
Deprecated.
- RelyingPartyRegistrationRepository - Interface in org.springframework.security.saml2.provider.service.registration
-
A repository for
RelyingPartyRegistration
s - RelyingPartyRegistrations - Class in org.springframework.security.saml2.provider.service.registration
-
A utility class for constructing instances of
RelyingPartyRegistration
- remoteIdpEntityId(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Deprecated.use
#assertingPartyDetails(Consumer<AssertingPartyDetails.Builder >)
- requireInitialize(Consumer<XMLObjectProviderRegistry>) - Static method in class org.springframework.security.saml2.core.OpenSamlInitializationService
-
Ready OpenSAML for use, configure it with reasonable defaults, and modify the
XMLObjectProviderRegistry
using the providedConsumer
. - requiresAuthentication(HttpServletRequest, HttpServletResponse) - Method in class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter
- resolve(HttpServletRequest) - Method in class org.springframework.security.saml2.provider.service.web.DefaultSaml2AuthenticationRequestContextResolver
- resolve(HttpServletRequest) - Method in interface org.springframework.security.saml2.provider.service.web.Saml2AuthenticationRequestContextResolver
-
This
resolve
method is defined to create aSaml2AuthenticationRequestContext
- resolve(RelyingPartyRegistration) - Method in class org.springframework.security.saml2.provider.service.metadata.OpenSamlMetadataResolver
- resolve(RelyingPartyRegistration) - Method in interface org.springframework.security.saml2.provider.service.metadata.Saml2MetadataResolver
-
Resolve the given relying party's metadata
S
- Saml2AuthenticatedPrincipal - Interface in org.springframework.security.saml2.provider.service.authentication
-
Saml2 representation of an
AuthenticatedPrincipal
. - Saml2Authentication - Class in org.springframework.security.saml2.provider.service.authentication
-
An implementation of an
AbstractAuthenticationToken
that represents an authenticated SAML 2.0Authentication
. - Saml2Authentication(AuthenticatedPrincipal, String, Collection<? extends GrantedAuthority>) - Constructor for class org.springframework.security.saml2.provider.service.authentication.Saml2Authentication
- Saml2AuthenticationException - Exception in org.springframework.security.saml2.provider.service.authentication
-
This exception is thrown for all SAML 2.0 related
Authentication
errors. - Saml2AuthenticationException(Saml2Error) - Constructor for exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Constructs a
Saml2AuthenticationException
using the provided parameters. - Saml2AuthenticationException(Saml2Error, String) - Constructor for exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Constructs a
Saml2AuthenticationException
using the provided parameters. - Saml2AuthenticationException(Saml2Error, String, Throwable) - Constructor for exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Constructs a
Saml2AuthenticationException
using the provided parameters. - Saml2AuthenticationException(Saml2Error, Throwable) - Constructor for exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Constructs a
Saml2AuthenticationException
using the provided parameters. - Saml2AuthenticationException(Saml2Error) - Constructor for exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Deprecated.Use
Saml2Error
constructor instead - Saml2AuthenticationException(Saml2Error, String) - Constructor for exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Deprecated.Use
Saml2Error
constructor instead - Saml2AuthenticationException(Saml2Error, String, Throwable) - Constructor for exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Deprecated.Use
Saml2Error
constructor instead - Saml2AuthenticationException(Saml2Error, Throwable) - Constructor for exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
-
Deprecated.Use
Saml2Error
constructor instead - Saml2AuthenticationRequest - Class in org.springframework.security.saml2.provider.service.authentication
-
Deprecated.
- Saml2AuthenticationRequest.Builder - Class in org.springframework.security.saml2.provider.service.authentication
-
Deprecated.A builder for
Saml2AuthenticationRequest
. - Saml2AuthenticationRequestContext - Class in org.springframework.security.saml2.provider.service.authentication
-
Data holder for information required to create an
AuthNRequest
to be sent from the service provider to the identity provider Assertions and Protocols for SAML 2 (line 2031) - Saml2AuthenticationRequestContext(RelyingPartyRegistration, String, String, String) - Constructor for class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequestContext
- Saml2AuthenticationRequestContext.Builder - Class in org.springframework.security.saml2.provider.service.authentication
-
A builder for
Saml2AuthenticationRequestContext
. - Saml2AuthenticationRequestContextResolver - Interface in org.springframework.security.saml2.provider.service.web
-
This
Saml2AuthenticationRequestContextResolver
formulates a SAML 2.0 AuthnRequest (line 1968) - Saml2AuthenticationRequestFactory - Interface in org.springframework.security.saml2.provider.service.authentication
-
Component that generates AuthenticationRequest,
samlp:AuthnRequestType
XML, and accompanying signature data. - Saml2AuthenticationToken - Class in org.springframework.security.saml2.provider.service.authentication
-
Represents an incoming SAML 2.0 response containing an assertion that has not been validated.
- Saml2AuthenticationToken(String, String, String, String, List<Saml2X509Credential>) - Constructor for class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Deprecated.
- Saml2AuthenticationToken(RelyingPartyRegistration, String) - Constructor for class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
Creates a
Saml2AuthenticationToken
with the provided parameters Note that the givenRelyingPartyRegistration
should have all its templates resolved at this point. - Saml2AuthenticationTokenConverter - Class in org.springframework.security.saml2.provider.service.web
-
An
AuthenticationConverter
that generates aSaml2AuthenticationToken
appropriate for authenticated a SAML 2.0 Assertion against anAuthenticationManager
. - Saml2AuthenticationTokenConverter(Converter<HttpServletRequest, RelyingPartyRegistration>) - Constructor for class org.springframework.security.saml2.provider.service.web.Saml2AuthenticationTokenConverter
-
Constructs a
Saml2AuthenticationTokenConverter
given a strategy for resolvingRelyingPartyRegistration
s - Saml2Error - Class in org.springframework.security.saml2.core
-
A representation of an SAML 2.0 Error.
- Saml2Error - Class in org.springframework.security.saml2.provider.service.authentication
-
Deprecated.Use
Saml2Error
instead - Saml2Error(String, String) - Constructor for class org.springframework.security.saml2.core.Saml2Error
-
Constructs a
Saml2Error
using the provided parameters. - Saml2Error(String, String) - Constructor for class org.springframework.security.saml2.provider.service.authentication.Saml2Error
-
Deprecated.Constructs a
Saml2Error
using the provided parameters. - Saml2ErrorCodes - Interface in org.springframework.security.saml2.core
-
A list of SAML known 2 error codes used during SAML authentication.
- Saml2ErrorCodes - Interface in org.springframework.security.saml2.provider.service.authentication
-
Deprecated.Use
Saml2ErrorCodes
instead - Saml2Exception - Exception in org.springframework.security.saml2
- Saml2Exception(String) - Constructor for exception org.springframework.security.saml2.Saml2Exception
- Saml2Exception(String, Throwable) - Constructor for exception org.springframework.security.saml2.Saml2Exception
- Saml2Exception(Throwable) - Constructor for exception org.springframework.security.saml2.Saml2Exception
- Saml2MessageBinding - Enum in org.springframework.security.saml2.provider.service.registration
-
The type of bindings that messages are exchanged using Supported bindings are
urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST
andurn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
. - Saml2MetadataFilter - Class in org.springframework.security.saml2.provider.service.web
-
A
Filter
that returns the metadata for a Relying Party - Saml2MetadataFilter(Converter<HttpServletRequest, RelyingPartyRegistration>, Saml2MetadataResolver) - Constructor for class org.springframework.security.saml2.provider.service.web.Saml2MetadataFilter
- Saml2MetadataResolver - Interface in org.springframework.security.saml2.provider.service.metadata
-
Resolves the SAML 2.0 Relying Party Metadata for a given
RelyingPartyRegistration
- Saml2PostAuthenticationRequest - Class in org.springframework.security.saml2.provider.service.authentication
-
Data holder for information required to send an
AuthNRequest
over a POST binding from the service provider to the identity provider https://www.oasis-open.org/committees/download.php/35711/sstc-saml-core-errata-2.0-wd-06-diff.pdf (line 2031) - Saml2PostAuthenticationRequest.Builder - Class in org.springframework.security.saml2.provider.service.authentication
-
Builder class for a
Saml2PostAuthenticationRequest
object. - Saml2RedirectAuthenticationRequest - Class in org.springframework.security.saml2.provider.service.authentication
-
Data holder for information required to send an
AuthNRequest
over a REDIRECT binding from the service provider to the identity provider https://www.oasis-open.org/committees/download.php/35711/sstc-saml-core-errata-2.0-wd-06-diff.pdf (line 2031) - Saml2RedirectAuthenticationRequest.Builder - Class in org.springframework.security.saml2.provider.service.authentication
-
Builder class for a
Saml2RedirectAuthenticationRequest
object. - Saml2ResponseValidatorResult - Class in org.springframework.security.saml2.core
-
A result emitted from a SAML 2.0 Response validation attempt
- Saml2WebSsoAuthenticationFilter - Class in org.springframework.security.saml2.provider.service.servlet.filter
- Saml2WebSsoAuthenticationFilter(RelyingPartyRegistrationRepository) - Constructor for class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter
-
Creates a
Saml2WebSsoAuthenticationFilter
authentication filter that is configured to use theSaml2WebSsoAuthenticationFilter.DEFAULT_FILTER_PROCESSES_URI
processing URL - Saml2WebSsoAuthenticationFilter(RelyingPartyRegistrationRepository, String) - Constructor for class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter
-
Creates a
Saml2WebSsoAuthenticationFilter
authentication filter - Saml2WebSsoAuthenticationFilter(AuthenticationConverter, String) - Constructor for class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationFilter
-
Creates a
Saml2WebSsoAuthenticationFilter
given the provided parameters - Saml2WebSsoAuthenticationRequestFilter - Class in org.springframework.security.saml2.provider.service.servlet.filter
-
This
Filter
formulates a SAML 2.0 AuthnRequest (line 1968) and redirects to a configured asserting party. - Saml2WebSsoAuthenticationRequestFilter(RelyingPartyRegistrationRepository) - Constructor for class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter
-
Deprecated.use the constructor that takes a
Saml2AuthenticationRequestFactory
- Saml2WebSsoAuthenticationRequestFilter(Saml2AuthenticationRequestContextResolver, Saml2AuthenticationRequestFactory) - Constructor for class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter
-
Construct a
Saml2WebSsoAuthenticationRequestFilter
with the provided parameters - Saml2X509Credential - Class in org.springframework.security.saml2.core
-
An object for holding a public certificate, any associated private key, and its intended usages (Line 584, Section 4.3 Credentials).
- Saml2X509Credential - Class in org.springframework.security.saml2.credentials
-
Deprecated.Use
Saml2X509Credential
instead - Saml2X509Credential(X509Certificate, Saml2X509Credential.Saml2X509CredentialType...) - Constructor for class org.springframework.security.saml2.core.Saml2X509Credential
-
Creates a
Saml2X509Credential
using the provided parameters - Saml2X509Credential(X509Certificate, Saml2X509Credential.Saml2X509CredentialType...) - Constructor for class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Creates a Saml2X509Credentials representing Identity Provider credentials for verification, encryption or both.
- Saml2X509Credential(PrivateKey, X509Certificate, Set<Saml2X509Credential.Saml2X509CredentialType>) - Constructor for class org.springframework.security.saml2.core.Saml2X509Credential
-
Creates a
Saml2X509Credential
using the provided parameters - Saml2X509Credential(PrivateKey, X509Certificate, Set<Saml2X509Credential.Saml2X509CredentialType>) - Constructor for class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.
- Saml2X509Credential(PrivateKey, X509Certificate, Saml2X509Credential.Saml2X509CredentialType...) - Constructor for class org.springframework.security.saml2.core.Saml2X509Credential
-
Creates a
Saml2X509Credential
using the provided parameters - Saml2X509Credential(PrivateKey, X509Certificate, Saml2X509Credential.Saml2X509CredentialType...) - Constructor for class org.springframework.security.saml2.credentials.Saml2X509Credential
-
Deprecated.Creates a Saml2X509Credentials representing Service Provider credentials for signing, decryption or both.
- Saml2X509Credential.Saml2X509CredentialType - Enum in org.springframework.security.saml2.core
- Saml2X509Credential.Saml2X509CredentialType - Enum in org.springframework.security.saml2.credentials
-
Deprecated.Use
Saml2X509Credential.Saml2X509CredentialType
instead - samlRequest(String) - Method in class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest.Builder
-
Sets the
SAMLRequest
parameter that will accompany this AuthNRequest - setAssertionElementsDecrypter(Consumer<OpenSaml4AuthenticationProvider.AssertionToken>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
-
Set the
Consumer
strategy to use for decrypting elements of a validatedAssertion
. - setAssertionElementsDecrypter(Consumer<OpenSamlAuthenticationProvider.AssertionToken>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.Set the
Consumer
strategy to use for decrypting elements of a validatedAssertion
. - setAssertionValidator(Converter<OpenSaml4AuthenticationProvider.AssertionToken, Saml2ResponseValidatorResult>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
-
Set the
Converter
to use for validating eachAssertion
in the SAML 2.0 Response. - setAssertionValidator(Converter<OpenSamlAuthenticationProvider.AssertionToken, Saml2ResponseValidatorResult>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.Set the
Converter
to use for validating eachAssertion
in the SAML 2.0 Response. - setAuthenticated(boolean) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationToken
-
The state of this object cannot be changed.
- setAuthenticationRequestContextConverter(Converter<Saml2AuthenticationRequestContext, AuthnRequest>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationRequestFactory
-
Set the strategy for building an
AuthnRequest
from a given context - setAuthenticationRequestContextConverter(Converter<Saml2AuthenticationRequestContext, AuthnRequest>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationRequestFactory
-
Deprecated.Set the
AuthnRequest
post-processor resolver - setAuthenticationRequestFactory(Saml2AuthenticationRequestFactory) - Method in class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter
-
Deprecated.use the constructor instead
- setAuthoritiesExtractor(Converter<Assertion, Collection<? extends GrantedAuthority>>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.
- setAuthoritiesMapper(GrantedAuthoritiesMapper) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.
- setClock(Clock) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationRequestFactory
-
Use this
Clock
withInstant.now()
for generating timestamps - setClock(Clock) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationRequestFactory
-
Deprecated.' Use this
Clock
withInstant.now()
for generating timestamps - setMetadataFilename(String) - Method in class org.springframework.security.saml2.provider.service.web.Saml2MetadataFilter
-
Sets the metadata filename template containing the
{registrationId}
template variable. - setProtocolBinding(String) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationRequestFactory
-
Deprecated.
- setRedirectMatcher(RequestMatcher) - Method in class org.springframework.security.saml2.provider.service.servlet.filter.Saml2WebSsoAuthenticationRequestFilter
-
Use the given
RequestMatcher
that activates this filter for a given request - setRequestMatcher(RequestMatcher) - Method in class org.springframework.security.saml2.provider.service.web.Saml2MetadataFilter
-
Set the
RequestMatcher
that determines whether this filter should handle the incomingHttpServletRequest
- setResponseAuthenticationConverter(Converter<OpenSaml4AuthenticationProvider.ResponseToken, ? extends AbstractAuthenticationToken>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
-
Set the
Converter
to use for converting a validatedResponse
into anAbstractAuthenticationToken
. - setResponseAuthenticationConverter(Converter<OpenSamlAuthenticationProvider.ResponseToken, ? extends AbstractAuthenticationToken>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.Set the
Converter
to use for converting a validatedResponse
into anAbstractAuthenticationToken
. - setResponseElementsDecrypter(Consumer<OpenSaml4AuthenticationProvider.ResponseToken>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
-
Set the
Consumer
strategy to use for decrypting elements of a validatedResponse
. - setResponseElementsDecrypter(Consumer<OpenSamlAuthenticationProvider.ResponseToken>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.Set the
Consumer
strategy to use for decrypting elements of a validatedResponse
. - setResponseTimeValidationSkew(Duration) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.
- sigAlg(String) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest.Builder
-
Sets the
SigAlg
parameter that will accompany this AuthNRequest - signature(String) - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest.Builder
-
Sets the
Signature
parameter that will accompany this AuthNRequest - signAuthNRequest(boolean) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails.Builder
-
Deprecated.Set to true if the AuthNRequest message should be signed
- signing(PrivateKey, X509Certificate) - Static method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Create a
Saml2X509Credential
that can be used for signing. - SIGNING - org.springframework.security.saml2.core.Saml2X509Credential.Saml2X509CredentialType
- SIGNING - org.springframework.security.saml2.credentials.Saml2X509Credential.Saml2X509CredentialType
-
Deprecated.
- signingAlgorithms(Consumer<List<String>>) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Apply this
Consumer
to the list of SigningMethod Algorithms - signingX509Credentials(Consumer<Collection<Saml2X509Credential>>) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.Builder
-
Apply this
Consumer
to theCollection
ofSaml2X509Credential
s for the purposes of modifying theCollection
- singleSignOnServiceBinding(Saml2MessageBinding) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Set the SingleSignOnService Binding.
- singleSignOnServiceLocation(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Set the SingleSignOnService Location.
- SUBJECT_NOT_FOUND - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
The assertion did not contain a subject element.
- SUBJECT_NOT_FOUND - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.The assertion did not contain a subject element.
- success() - Static method in class org.springframework.security.saml2.core.Saml2ResponseValidatorResult
-
Construct a successful
Saml2ResponseValidatorResult
- supports(Class<?>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSaml4AuthenticationProvider
- supports(Class<?>) - Method in class org.springframework.security.saml2.provider.service.authentication.OpenSamlAuthenticationProvider
-
Deprecated.
T
- toString() - Method in class org.springframework.security.saml2.core.Saml2Error
- toString() - Method in exception org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationException
- toString() - Method in class org.springframework.security.saml2.provider.service.authentication.Saml2Error
-
Deprecated.
U
- UNKNOWN_RESPONSE_CLASS - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
SAML Data does not represent a SAML 2 Response object.
- UNKNOWN_RESPONSE_CLASS - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.SAML Data does not represent a SAML 2 Response object.
- USERNAME_NOT_FOUND - Static variable in interface org.springframework.security.saml2.core.Saml2ErrorCodes
-
The subject did not contain a user identifier The assertion contained a subject element, but the subject element did not have a
NameID
orEncryptedID
element https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf#page=18 - USERNAME_NOT_FOUND - Static variable in interface org.springframework.security.saml2.provider.service.authentication.Saml2ErrorCodes
-
Deprecated.The subject did not contain a user identifier The assertion contained a subject element, but the subject element did not have a
NameID
orEncryptedID
element https://docs.oasis-open.org/security/saml/v2.0/saml-core-2.0-os.pdf#page=18
V
- valueOf(String) - Static method in enum org.springframework.security.saml2.core.Saml2X509Credential.Saml2X509CredentialType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.springframework.security.saml2.credentials.Saml2X509Credential.Saml2X509CredentialType
-
Deprecated.Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum org.springframework.security.saml2.provider.service.registration.Saml2MessageBinding
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum org.springframework.security.saml2.core.Saml2X509Credential.Saml2X509CredentialType
-
Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.springframework.security.saml2.credentials.Saml2X509Credential.Saml2X509CredentialType
-
Deprecated.Returns an array containing the constants of this enum type, in the order they are declared.
- values() - Static method in enum org.springframework.security.saml2.provider.service.registration.Saml2MessageBinding
-
Returns an array containing the constants of this enum type, in the order they are declared.
- verification(X509Certificate) - Static method in class org.springframework.security.saml2.core.Saml2X509Credential
-
Create a
Saml2X509Credential
that can be used for verification. - VERIFICATION - org.springframework.security.saml2.core.Saml2X509Credential.Saml2X509CredentialType
- VERIFICATION - org.springframework.security.saml2.credentials.Saml2X509Credential.Saml2X509CredentialType
-
Deprecated.
- verificationX509Credentials(Consumer<Collection<Saml2X509Credential>>) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Apply this
Consumer
to the list ofSaml2X509Credential
s
W
- wantAuthnRequestsSigned(boolean) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.AssertingPartyDetails.Builder
-
Set the WantAuthnRequestsSigned setting, indicating the asserting party's preference that relying parties should sign the AuthnRequest before sending.
- webSsoUrl(String) - Method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration.ProviderDetails.Builder
-
Deprecated.Sets the
SSO URL
for the remote asserting party, the Identity Provider. - withAuthenticationRequestContext(Saml2AuthenticationRequestContext) - Static method in class org.springframework.security.saml2.provider.service.authentication.Saml2AuthenticationRequest
-
Deprecated.A builder for
Saml2AuthenticationRequest
. - withAuthenticationRequestContext(Saml2AuthenticationRequestContext) - Static method in class org.springframework.security.saml2.provider.service.authentication.Saml2PostAuthenticationRequest
-
Constructs a
Saml2PostAuthenticationRequest.Builder
from aSaml2AuthenticationRequestContext
object. - withAuthenticationRequestContext(Saml2AuthenticationRequestContext) - Static method in class org.springframework.security.saml2.provider.service.authentication.Saml2RedirectAuthenticationRequest
-
Constructs a
Saml2RedirectAuthenticationRequest.Builder
from aSaml2AuthenticationRequestContext
object. - withRegistrationId(String) - Static method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
- withRelyingPartyRegistration(RelyingPartyRegistration) - Static method in class org.springframework.security.saml2.provider.service.registration.RelyingPartyRegistration
-
Creates a
RelyingPartyRegistration
RelyingPartyRegistration.Builder
based on an existing object - write(RelyingPartyRegistration.Builder, MediaType, HttpOutputMessage) - Method in class org.springframework.security.saml2.provider.service.registration.OpenSamlRelyingPartyRegistrationBuilderHttpMessageConverter
_
- _this() - Method in class org.springframework.security.saml2.provider.service.authentication.AbstractSaml2AuthenticationRequest.Builder
-
Casting the return as the generic subtype, when returning itself
All Classes All Packages