Interface PostAuthenticationProcessor
- All Known Implementing Classes:
DelegatingPostAuthenticationProcessor,SwedenConnectPostAuthenticationProcessor
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
After the user authentication a
Saml2UserAuthentication token is received. Before this token is translated
into a SAML assertion it is fed to the PostAuthenticationProcessor that asserts that the authentication
process delivered what was expected (and needed).
Note: The processor may also modify the Saml2UserAuthentication token and not only check it.
- Author:
- Martin Lindström
-
Method Summary
Modifier and TypeMethodDescriptionvoidprocess(Saml2UserAuthentication token) Applies post-processing of aSaml2UserAuthenticationtoken.
-
Method Details
-
process
Applies post-processing of aSaml2UserAuthenticationtoken.- Parameters:
token- the token to process- Throws:
Saml2ErrorStatusException- if an error is detected
-