Uses of Class
se.swedenconnect.spring.saml.idp.error.UnrecoverableSaml2IdpException
Package
Description
Support for SAML
NameID
s.Audit data definitions.
Support for user authentication including SSO.
Support for "external user authentication", i.e., when we redirect the user outside of the Spring Security flow to
get authenticated.
Support for processing SAML authentication requests.
Validation of SAML2 authentication requests.
Event handling.
Non-standard SAML extensions.
Support for sending SAML response messages.
-
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.attributes.nameid
Modifier and TypeMethodDescriptionDefaultNameIDGeneratorFactory.getNameIDGenerator
(org.opensaml.saml.saml2.core.AuthnRequest authnRequest, org.opensaml.saml.saml2.metadata.EntityDescriptor peerMetadata) Given the requirements for aNameID
in theAuthnRequest
andEntityDescriptor
along with the IdP policy the method returns aNameIDGenerator
.NameIDGeneratorFactory.getNameIDGenerator
(org.opensaml.saml.saml2.core.AuthnRequest authnRequest, org.opensaml.saml.saml2.metadata.EntityDescriptor peerMetadata) Given the requirements for aNameID
in theAuthnRequest
andEntityDescriptor
along with the IdP policy the method returns aNameIDGenerator
. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.audit.data
Modifier and TypeMethodDescriptionSaml2UnrecoverableErrorAuditData.of
(UnrecoverableSaml2IdpException error) Creates aSaml2UnrecoverableErrorAuditData
given aUnrecoverableSaml2IdpException
. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.authentication
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.core.Assertion
Saml2AssertionBuilder.buildAssertion
(Saml2UserAuthentication userAuthentication) Given aSaml2UserAuthentication
object a SAMLAssertion
is built. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.authentication.provider.external
Modifier and TypeMethodDescriptionprotected RedirectForAuthenticationToken
AbstractAuthenticationController.getInputToken
(jakarta.servlet.http.HttpServletRequest request) Gets theRedirectForAuthenticationToken
that is the input for the "external authentication" process. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.authnrequest
Modifier and TypeMethodDescriptionprotected AuthenticationRequirements
Saml2AuthnRequestAuthenticationProvider.createAuthenticationRequirements
(Saml2AuthnRequestAuthenticationToken token) Creates anAuthenticationRequirements
object. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.authnrequest.validation
Modifier and TypeMethodDescriptionvoid
AssertionConsumerServiceValidator.validate
(Saml2AuthnRequestAuthenticationToken authnRequestToken) Asserts that the AssertionConsumerService information given in theAuthnRequest
is registered in the SAML metadata.void
AuthnRequestEncryptCapabilitiesValidator.validate
(Saml2AuthnRequestAuthenticationToken authnRequestToken) Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request.void
AuthnRequestReplayValidator.validate
(Saml2AuthnRequestAuthenticationToken authnRequestToken) Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request.void
AuthnRequestSignatureValidator.validate
(Saml2AuthnRequestAuthenticationToken token) Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request.void
AuthnRequestValidator.validate
(Saml2AuthnRequestAuthenticationToken authnRequestToken) Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.events
Modifier and TypeMethodDescriptionvoid
Saml2IdpEventPublisher.publishUnrecoverableSamlError
(UnrecoverableSaml2IdpException error) Publishes aSaml2UnrecoverableErrorEvent
indicating that anUnrecoverableSaml2IdpException
has been thrown.ModifierConstructorDescriptionConstructor. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.extensions
Modifier and TypeMethodDescriptionSignatureMessageExtensionExtractor.extract
(Saml2AuthnRequestAuthenticationToken token) Given an authentication request, the method will extract theSignMessage
extension, and if it is encrypted also decrypt it. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.response
Modifier and TypeMethodDescriptionorg.opensaml.saml.saml2.core.Response
Saml2ResponseBuilder.buildErrorResponse
(Saml2ResponseAttributes responseAttributes, Saml2ErrorStatusException error) Given aSaml2ErrorStatusException
exception, the method builds aResponse
object indicating the errorStatus
given by the exception and signs it.org.opensaml.saml.saml2.core.Response
Saml2ResponseBuilder.buildResponse
(Saml2ResponseAttributes responseAttributes, org.opensaml.saml.saml2.core.Assertion assertion) Given anAssertion
, the method builds aResponse
object including the suppliedAssertion
.protected org.opensaml.saml.saml2.core.Response
Saml2ResponseBuilder.createResponse
(Saml2ResponseAttributes responseAttributes, org.opensaml.saml.saml2.core.Status status) Creates aResponse
object with the basic attributesID
,Destination
andInResponseTo
as well as theIssuer
element and the suppliedStatus
element.protected String
Saml2ResponseSender.encodeResponse
(org.opensaml.saml.saml2.core.Response samlResponse) Encodes the suppliedResponse
message for being included in na HTML form.protected org.opensaml.saml.saml2.core.EncryptedAssertion
Saml2ResponseBuilder.encryptAssertion
(org.opensaml.saml.saml2.core.Assertion assertion, org.opensaml.saml.saml2.metadata.EntityDescriptor peerMetadata) Encrypts the suppliedAssertion
.void
Saml2ResponseSender.send
(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, String destinationUrl, org.opensaml.saml.saml2.core.Response response, String relayState) Directs the user agent to a page that issues na HTML POST containing the SAML response, and optionally, also theRelayState
variable.protected void
Saml2ResponseBuilder.signResponse
(org.opensaml.saml.saml2.core.Response samlResponse, org.opensaml.saml.saml2.metadata.EntityDescriptor peerMetadata) Signs theResponse
message.