Interface SwedishEidAuthnRequestGeneratorContext
- All Superinterfaces:
AuthnRequestGeneratorContext
An extension to
AuthnRequestGeneratorContext
with added functionality for the Swedish eID Framework.- Author:
- Martin Lindström (martin@idsec.se)
-
Nested Class Summary
Modifier and TypeInterfaceDescriptionstatic interface
The generator will invoke thegetPrincipalSelectionBuilderFunction()
in order to obtain a builder function that creates thePrincipalSelection
extension.static interface
If the SP is a signature service, the generator will invoke thegetSignMessageBuilderFunction()
method in order to obtain a builder of aSignMessage
object.static interface
If an IdP has support for theUserMessage
extension, the generator will invoke thegetUserMessageBuilderFunction()
method in order to btain a builder for aUserMessage
object.Nested classes/interfaces inherited from interface se.swedenconnect.opensaml.saml2.request.AuthnRequestGeneratorContext
AuthnRequestGeneratorContext.AssertionConsumerServiceResolver, AuthnRequestGeneratorContext.AttributeConsumingServiceIndexResolver, AuthnRequestGeneratorContext.AuthnRequestCustomizer, AuthnRequestGeneratorContext.HokRequirement, AuthnRequestGeneratorContext.NameIDPolicyBuilderFunction, AuthnRequestGeneratorContext.RequestedAuthnContextBuilderFunction
-
Method Summary
Modifier and TypeMethodDescriptionGets theSwedishEidAuthnRequestGeneratorContext.PrincipalSelectionBuilderFunction
that is used to buildPrincipalSelection
extensions.Gets theSwedishEidAuthnRequestGeneratorContext.SignMessageBuilderFunction
that is used to buildSignMessage
extensions.Gets theSwedishEidAuthnRequestGeneratorContext.UserMessageBuilderFunction
that is used to buildUserMessage
extensions.Methods inherited from interface se.swedenconnect.opensaml.saml2.request.AuthnRequestGeneratorContext
getAssertionConsumerServiceResolver, getAttributeConsumingServiceIndexResolver, getAuthnRequestCustomizer, getForceAuthnAttribute, getHokRequirement, getIsPassiveAttribute, getNameIDPolicyBuilderFunction, getOverrideSignCredential, getPreferredBinding, getRequestedAuthnContextBuilderFunction, getSignatureSigningConfiguration
-
Method Details
-
getSignMessageBuilderFunction
default SwedishEidAuthnRequestGeneratorContext.SignMessageBuilderFunction getSignMessageBuilderFunction()Gets theSwedishEidAuthnRequestGeneratorContext.SignMessageBuilderFunction
that is used to buildSignMessage
extensions.The default implementation does not create a
SignMessage
extension.- Returns:
- the builder function
-
getPrincipalSelectionBuilderFunction
default SwedishEidAuthnRequestGeneratorContext.PrincipalSelectionBuilderFunction getPrincipalSelectionBuilderFunction()Gets theSwedishEidAuthnRequestGeneratorContext.PrincipalSelectionBuilderFunction
that is used to buildPrincipalSelection
extensions.The default implementation does not create a
PrincipalSelection
extension.- Returns:
- the builder function
-
getUserMessageBuilderFunction
default SwedishEidAuthnRequestGeneratorContext.UserMessageBuilderFunction getUserMessageBuilderFunction()Gets theSwedishEidAuthnRequestGeneratorContext.UserMessageBuilderFunction
that is used to buildUserMessage
extensions.Note: This method will only be invoked if the IdP has declared support for the
UserMessage
extension.The default implementation does not create a
UserMessage
extension.- Returns:
- the builder function
-