Class SwedenConnectPostAuthenticationProcessor
java.lang.Object
se.swedenconnect.spring.saml.idp.authentication.SwedenConnectPostAuthenticationProcessor
- All Implemented Interfaces:
PostAuthenticationProcessor
public class SwedenConnectPostAuthenticationProcessor
extends Object
implements PostAuthenticationProcessor
A
PostAuthenticationProcessor
that applies the rules of Sweden Connect, see
Technical Specifications for the Swedish eID
Framework.- Author:
- Martin Lindström
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
process
(Saml2UserAuthentication token) Applies the following checks: If the request is from a Signature Service and the SignMessage has been flagged with "must show" the method asserts that a sign message has been displayed during authentication. TODO: more ...
-
Constructor Details
-
SwedenConnectPostAuthenticationProcessor
public SwedenConnectPostAuthenticationProcessor()
-
-
Method Details
-
process
Applies the following checks:- If the request is from a Signature Service and the SignMessage has been flagged with "must show" the method asserts that a sign message has been displayed during authentication.
- TODO: more ...
- Specified by:
process
in interfacePostAuthenticationProcessor
- Parameters:
token
- the token to process- Throws:
Saml2ErrorStatusException
- if an error is detected
-