Class BankIdAuthenticationToken
java.lang.Object
org.springframework.security.authentication.AbstractAuthenticationToken
se.swedenconnect.bankid.idp.authn.BankIdAuthenticationToken
- All Implemented Interfaces:
Serializable,Principal,org.springframework.security.core.Authentication,org.springframework.security.core.CredentialsContainer
public class BankIdAuthenticationToken
extends org.springframework.security.authentication.AbstractAuthenticationToken
An
Authentication object representing a successful BankID operation.- Author:
- Martin Lindström, Felix Hellman
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturnsnull.Returns aCompletionDatareceived from the BankID server.Methods inherited from class org.springframework.security.authentication.AbstractAuthenticationToken
equals, eraseCredentials, getAuthorities, getDetails, getName, hashCode, isAuthenticated, setAuthenticated, setDetails, toString
-
Constructor Details
-
BankIdAuthenticationToken
Constructor.- Parameters:
collectResponse- theCollectResponsereceived from the BankID server
-
-
Method Details
-
getCredentials
Returnsnull. -
getPrincipal
Returns aCompletionDatareceived from the BankID server.
-