Uses of Class
se.swedenconnect.spring.saml.idp.error.UnrecoverableSaml2IdpException
Packages that use 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
Methods in se.swedenconnect.spring.saml.idp.attributes.nameid that throw UnrecoverableSaml2IdpExceptionModifier and TypeMethodDescriptionDefaultNameIDGeneratorFactory.getNameIDGenerator
(AuthnRequest authnRequest, EntityDescriptor peerMetadata) Given the requirements for aNameID
in theAuthnRequest
andEntityDescriptor
along with the IdP policy the method returns aNameIDGenerator
.NameIDGeneratorFactory.getNameIDGenerator
(AuthnRequest authnRequest, 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
Methods in se.swedenconnect.spring.saml.idp.audit.data with parameters of type UnrecoverableSaml2IdpExceptionModifier and TypeMethodDescriptionSaml2UnrecoverableErrorAuditData.of
(UnrecoverableSaml2IdpException error) Creates aSaml2UnrecoverableErrorAuditData
given aUnrecoverableSaml2IdpException
. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.authentication
Methods in se.swedenconnect.spring.saml.idp.authentication that throw UnrecoverableSaml2IdpExceptionModifier and TypeMethodDescriptionSaml2AssertionBuilder.buildAssertion
(Saml2UserAuthentication userAuthentication) Given aSaml2UserAuthentication
object a SAMLAssertion
is built. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.authentication.provider.external
Methods in se.swedenconnect.spring.saml.idp.authentication.provider.external that throw UnrecoverableSaml2IdpExceptionModifier 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
Methods in se.swedenconnect.spring.saml.idp.authnrequest that throw UnrecoverableSaml2IdpExceptionModifier and TypeMethodDescriptionprotected AuthenticationRequirements
Saml2AuthnRequestAuthenticationProvider.createAuthenticationRequirements
(Saml2AuthnRequestAuthenticationToken token) Creates anAuthenticationRequirements
object. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.authnrequest.validation
Methods in se.swedenconnect.spring.saml.idp.authnrequest.validation that throw UnrecoverableSaml2IdpExceptionModifier 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
Methods in se.swedenconnect.spring.saml.idp.events that return UnrecoverableSaml2IdpExceptionMethods in se.swedenconnect.spring.saml.idp.events with parameters of type UnrecoverableSaml2IdpExceptionModifier and TypeMethodDescriptionvoid
Saml2IdpEventPublisher.publishUnrecoverableSamlError
(UnrecoverableSaml2IdpException error) Publishes aSaml2UnrecoverableErrorEvent
indicating that anUnrecoverableSaml2IdpException
has been thrown.Constructors in se.swedenconnect.spring.saml.idp.events with parameters of type UnrecoverableSaml2IdpExceptionModifierConstructorDescriptionConstructor. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.extensions
Methods in se.swedenconnect.spring.saml.idp.extensions that throw UnrecoverableSaml2IdpExceptionModifier 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
Methods in se.swedenconnect.spring.saml.idp.response that throw UnrecoverableSaml2IdpExceptionModifier and TypeMethodDescriptionSaml2ResponseBuilder.buildErrorResponse
(Saml2ResponseAttributes responseAttributes, Saml2ErrorStatusException error) Given aSaml2ErrorStatusException
exception, the method builds aResponse
object indicating the errorStatus
given by the exception and signs it.Saml2ResponseBuilder.buildResponse
(Saml2ResponseAttributes responseAttributes, Assertion assertion) protected Response
Saml2ResponseBuilder.createResponse
(Saml2ResponseAttributes responseAttributes, Status status) Creates aResponse
object with the basic attributesID
,Destination
andInResponseTo
as well as theIssuer
element and the suppliedStatus
element.protected String
Saml2ResponseSender.encodeResponse
(Response samlResponse) Encodes the suppliedResponse
message for being included in na HTML form.protected EncryptedAssertion
Saml2ResponseBuilder.encryptAssertion
(Assertion assertion, EntityDescriptor peerMetadata) Encrypts the suppliedAssertion
.void
Saml2ResponseSender.send
(jakarta.servlet.http.HttpServletRequest httpServletRequest, jakarta.servlet.http.HttpServletResponse httpServletResponse, String destinationUrl, 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
(Response samlResponse, EntityDescriptor peerMetadata) Signs theResponse
message.