Uses of Class
se.swedenconnect.spring.saml.idp.error.UnrecoverableSaml2IdpException
Packages that use UnrecoverableSaml2IdpException
Package
Description
Support for SAML
NameIDs.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 aNameIDin theAuthnRequestandEntityDescriptoralong with the IdP policy the method returns aNameIDGenerator.NameIDGeneratorFactory.getNameIDGenerator(AuthnRequest authnRequest, EntityDescriptor peerMetadata) Given the requirements for aNameIDin theAuthnRequestandEntityDescriptoralong 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 aSaml2UnrecoverableErrorAuditDatagiven 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 aSaml2UserAuthenticationobject a SAMLAssertionis 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 RedirectForAuthenticationTokenAbstractAuthenticationController.getInputToken(jakarta.servlet.http.HttpServletRequest request) Gets theRedirectForAuthenticationTokenthat 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 AuthenticationRequirementsSaml2AuthnRequestAuthenticationProvider.createAuthenticationRequirements(Saml2AuthnRequestAuthenticationToken token) Creates anAuthenticationRequirementsobject. -
Uses of UnrecoverableSaml2IdpException in se.swedenconnect.spring.saml.idp.authnrequest.validation
Methods in se.swedenconnect.spring.saml.idp.authnrequest.validation that throw UnrecoverableSaml2IdpExceptionModifier and TypeMethodDescriptionvoidAssertionConsumerServiceValidator.validate(Saml2AuthnRequestAuthenticationToken authnRequestToken) Asserts that the AssertionConsumerService information given in theAuthnRequestis registered in the SAML metadata.voidAuthnRequestEncryptCapabilitiesValidator.validate(Saml2AuthnRequestAuthenticationToken authnRequestToken) Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request.voidAuthnRequestReplayValidator.validate(Saml2AuthnRequestAuthenticationToken authnRequestToken) Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request.voidAuthnRequestSignatureValidator.validate(Saml2AuthnRequestAuthenticationToken token) Performs validation of a feature/requirement regarding the supplied SAML 2 authentication request.voidAuthnRequestValidator.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 TypeMethodDescriptionvoidSaml2IdpEventPublisher.publishUnrecoverableSamlError(UnrecoverableSaml2IdpException error) Publishes aSaml2UnrecoverableErrorEventindicating that anUnrecoverableSaml2IdpExceptionhas 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 theSignMessageextension, 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 aSaml2ErrorStatusExceptionexception, the method builds aResponseobject indicating the errorStatusgiven by the exception and signs it.Saml2ResponseBuilder.buildResponse(Saml2ResponseAttributes responseAttributes, Assertion assertion) protected ResponseSaml2ResponseBuilder.createResponse(Saml2ResponseAttributes responseAttributes, Status status) Creates aResponseobject with the basic attributesID,DestinationandInResponseToas well as theIssuerelement and the suppliedStatuselement.protected StringSaml2ResponseSender.encodeResponse(Response samlResponse) Encodes the suppliedResponsemessage for being included in na HTML form.protected EncryptedAssertionSaml2ResponseBuilder.encryptAssertion(Assertion assertion, EntityDescriptor peerMetadata) Encrypts the suppliedAssertion.voidSaml2ResponseSender.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 theRelayStatevariable.protected voidSaml2ResponseBuilder.signResponse(Response samlResponse, EntityDescriptor peerMetadata) Signs theResponsemessage.