Uses of Class
se.swedenconnect.spring.saml.idp.authnrequest.AuthenticationRequirementsBuilder
Package
Description
Support for processing SAML authentication requests.
-
Uses of AuthenticationRequirementsBuilder in se.swedenconnect.spring.saml.idp.authnrequest
Modifier and TypeMethodDescriptionAuthenticationRequirementsBuilder.authnContextRequirement
(String authnContextRequirement) Adds a requested authentication contexts (AuthnContextClassRef
).AuthenticationRequirementsBuilder.authnContextRequirements
(Collection<String> authnContextRequirements) Assigns a collection of the requested authentication contexts (AuthnContextClassRef
).AuthenticationRequirementsBuilder.builder()
Creates aAuthenticationRequirementsBuilder
.AuthenticationRequirementsBuilder.builder
(AuthenticationRequirements requirements) Creates aAuthenticationRequirementsBuilder
based on an existingAuthenticationRequirements
object.AuthenticationRequirementsBuilder.entityCategories
(Collection<String> entityCategories) Assigns the collection of declared SAML entity categories for the relying party.AuthenticationRequirementsBuilder.entityCategory
(String entityCategory) Adds an entity category.AuthenticationRequirementsBuilder.forceAuthn
(boolean forceAuthn) Tells whether "force authentication" has been set, i.e., whether to force user authentication even though a valid user session exists.AuthenticationRequirementsBuilder.passiveAuthn
(boolean passiveAuthn) Tells whether we should issue an assertion without requiring the user to authenticate again.AuthenticationRequirementsBuilder.principalSelectionAttribute
(UserAttribute principalSelectionAttribute) Adds a principal selection attribute.AuthenticationRequirementsBuilder.principalSelectionAttributes
(Collection<UserAttribute> principalSelectionAttributes) The PrincipalSelection extension defined in Sweden Connect technical framework enables a relying party to include one or more attributes in theAuthnRequest
to inform the IdP about the user that is being authenticated.AuthenticationRequirementsBuilder.requestedAttribute
(RequestedAttribute requestedAttribute) Adds a requested attribute.AuthenticationRequirementsBuilder.requestedAttributes
(Collection<RequestedAttribute> requestedAttributes) Assigns the attributes requested directly in the authentication request or indirectly from the relying party metadata (AttributeConsumingService
or entity category declarations).AuthenticationRequirementsBuilder.sadRequestExtension
(SadRequestExtension sadRequestExtension) Assigns theSadRequestExtension
which is the representation of theSADRequest
extension as specified in Signature Activation Protocol for Federated Signing.AuthenticationRequirementsBuilder.signatureMessageExtension
(SignatureMessageExtension signatureMessageExtension) Assigns theSignatureMessageExtension
which is the representation of theSignMessage
extension as specified in section 3.1.2 of DSS Extension for Federated Central Signing Services.AuthenticationRequirementsBuilder.userMessageExtension
(UserMessageExtension userMessageExtension) Assigns theUserMessageExtension
which is the representation of theUserMessage
extension as specified in User Message Extension in SAML Authentication Requests.