Class BankIdSessionState
java.lang.Object
se.swedenconnect.bankid.idp.authn.session.BankIdSessionState
Container for multiple BankID session states.
This is construct serves the purpose of holding all sessions that gets started when a user starts authentication for the strict purpose of being able to refer to the first initial session as well as the most current one.
- Author:
- Martin Lindström, Felix Hellman
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGets the most current session data.Gets the instant for the first response.pop()
Operation to remove the most current session data.void
push
(BankIdSessionData data) Operation to insert a new session data.
-
Constructor Details
-
BankIdSessionState
public BankIdSessionState()Constructor.
-
-
Method Details
-
push
Operation to insert a new session data.- Parameters:
data
- new session data
-
pop
Operation to remove the most current session data.- Returns:
- old session data
-
getBankIdSessionData
Gets the most current session data.- Returns:
- most current bankid session data
-
getInitialOrderTime
Gets the instant for the first response.- Returns:
- point in time of the first response
-