Interface AuthenticationStatementsProvider
-
@SupportedAll public interface AuthenticationStatementsProvider
Defines the concern of providing the AuthnStatement list to be included in the generated SAML2 assertion. If no custom interface implementation is specified in the SAML2Config, then the DefaultAuthenticationStatementsProvider will be used.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<AuthnStatement>
get(SAML2Config saml2Config, String authnContextClassRef)
Invoked to obtain the List of AuthnStatement instances to be included in the generated SAML2 assertion.
-
-
-
Method Detail
-
get
List<AuthnStatement> get(SAML2Config saml2Config, String authnContextClassRef) throws TokenCreationException
Invoked to obtain the List of AuthnStatement instances to be included in the generated SAML2 assertion.- Parameters:
saml2Config
- The STS-instance-specific SAML2 configurationsauthnContextClassRef
- The AuthNContext class ref pulled out of the TokenGenerationServiceInvocationState.- Returns:
- The list of AuthnStatements
- Throws:
TokenCreationException
- If there was an error while creating the AuthnStatements.
-
-