Uses of Class
se.swedenconnect.signservice.authn.UserAuthenticationException
Packages that use UserAuthenticationException
Package
Description
SignService Authentication Support.
A mocked authentication handler that may be used in testing scenarios.
SAML Authentication Handlers.
-
Uses of UserAuthenticationException in se.swedenconnect.signservice.authn
Methods in se.swedenconnect.signservice.authn that throw UserAuthenticationExceptionModifier and TypeMethodDescriptionAuthenticationHandler.authenticate(AuthnRequirements authnRequirements, SignMessage signMessage, SignServiceContext context) Initiates authentication of the user.AuthenticationHandler.resumeAuthentication(HttpUserRequest request, SignServiceContext context) Resumes an authentication process. -
Uses of UserAuthenticationException in se.swedenconnect.signservice.authn.mock
Methods in se.swedenconnect.signservice.authn.mock that throw UserAuthenticationExceptionModifier and TypeMethodDescriptionMockedAuthenticationHandler.authenticate(AuthnRequirements authnRequirements, SignMessage signMessage, SignServiceContext context) Initiates authentication of the user.MockedAuthenticationHandler.resumeAuthentication(HttpUserRequest httpRequest, SignServiceContext context) Resumes an authentication process. -
Uses of UserAuthenticationException in se.swedenconnect.signservice.authn.saml
Methods in se.swedenconnect.signservice.authn.saml that throw UserAuthenticationExceptionModifier and TypeMethodDescriptionprotected voidAbstractSamlAuthenticationHandler.assertAttributes(AuthnRequirements authnRequirements, List<IdentityAttribute<?>> issuedAttributes, SignServiceContext context) Asserts that all requested signer attributes (from the SignRequest) is provided among the attributes from the identity assertion received from the IdP.protected voidAbstractSamlAuthenticationHandler.assertAuthnContext(org.opensaml.saml.saml2.core.AuthnRequest authnRequest, String authnContextClassUri, SignServiceContext context) Asserts that we received an authentication context class that we can accept.protected voidAbstractSamlAuthenticationHandler.assertSignMessage(SignMessage signMessage, List<IdentityAttribute<?>> attributes, se.swedenconnect.opensaml.saml2.response.ResponseProcessingResult result, org.opensaml.saml.saml2.core.AuthnRequest authnRequest, SignServiceContext context) Asserts the signature message.protected voidSwedenConnectSamlAuthenticationHandler.assertSignMessage(SignMessage signMessage, List<IdentityAttribute<?>> attributes, se.swedenconnect.opensaml.saml2.response.ResponseProcessingResult result, org.opensaml.saml.saml2.core.AuthnRequest authnRequest, SignServiceContext context) Asserts that we received a signMessageDigest attribute if SignMessage was sent.AbstractSamlAuthenticationHandler.authenticate(AuthnRequirements authnRequirements, SignMessage signMessage, SignServiceContext context) Initiates authentication of the user.protected IdentityAssertionAbstractSamlAuthenticationHandler.buildIdentityAssertion(se.swedenconnect.opensaml.saml2.response.ResponseProcessingResult result, List<IdentityAttribute<?>> attributes, SignServiceContext context) Given aResponseProcessingResultthe method builds anIdentityAssertionobject.protected se.swedenconnect.opensaml.saml2.request.AuthnRequestGeneratorContextAbstractSamlAuthenticationHandler.createAuthnRequestContext(AuthnRequirements authnRequirements, SignMessage signMessage, SignServiceContext context, org.opensaml.saml.saml2.metadata.EntityDescriptor idpMetadata) Creates anAuthnRequestGeneratorContextobject that is to be used by the configuredAuthnRequestGenerator.protected se.swedenconnect.opensaml.saml2.request.AuthnRequestGeneratorContextSwedenConnectSamlAuthenticationHandler.createAuthnRequestContext(AuthnRequirements authnRequirements, SignMessage signMessage, SignServiceContext context, org.opensaml.saml.saml2.metadata.EntityDescriptor idpMetadata) Extends the base implementation with support for SignMessage and PrincipalSelection.protected voidAbstractSamlAuthenticationHandler.extendedAssertionVerification(AuthnRequirements authnRequirements, org.opensaml.saml.saml2.core.AuthnRequest authnRequest, se.swedenconnect.opensaml.saml2.response.ResponseProcessingResult result, SignServiceContext context) A method that enables subclasses to extend the verification of the received assertion.protected voidSwedenConnectSamlAuthenticationHandler.extendedAssertionVerification(AuthnRequirements authnRequirements, org.opensaml.saml.saml2.core.AuthnRequest authnRequest, se.swedenconnect.opensaml.saml2.response.ResponseProcessingResult result, SignServiceContext context) Checks for a SAD request.protected org.opensaml.saml.saml2.core.AuthnRequestAbstractSamlAuthenticationHandler.getAuthnRequest(SignServiceContext context) Gets the storedAuthnRequestfrom the session context.protected org.opensaml.saml.saml2.metadata.EntityDescriptorAbstractSamlAuthenticationHandler.getIdpMetadata(AuthnRequirements authnRequirements, SignServiceContext context) Finds the Identity Provider metadata from the federation given the authentication requirements.AbstractSamlAuthenticationHandler.resumeAuthentication(HttpUserRequest httpRequest, SignServiceContext context) Resumes an authentication process.protected voidAbstractSamlAuthenticationHandler.storeAuthnRequest(org.opensaml.saml.saml2.core.AuthnRequest authnRequest, SignServiceContext context) Stores a generatedAuthnRequestmessage in the SignService context.protected List<IdentityAttribute<?>> AbstractSamlAuthenticationHandler.transformAttributes(List<org.opensaml.saml.saml2.core.Attribute> attributes) Transforms SAML attributes into the generic SignService-representation of attributes.protected booleanAbstractSamlAuthenticationHandler.wasSignMessageDisplayed(se.swedenconnect.opensaml.saml2.response.ResponseProcessingResult result, List<IdentityAttribute<?>> attributes, org.opensaml.saml.saml2.core.AuthnRequest authnRequest, SignServiceContext context) Given theResponseProcessingResultand theAuthnRequestthe method determines if the sign message was displayed.protected booleanSwedenConnectSamlAuthenticationHandler.wasSignMessageDisplayed(se.swedenconnect.opensaml.saml2.response.ResponseProcessingResult result, List<IdentityAttribute<?>> attributes, org.opensaml.saml.saml2.core.AuthnRequest authnRequest, SignServiceContext context) Returnstrueif the signMessageDigest attribute was received.