Class Saml2Authentication
java.lang.Object
com.codename1.backend.security.AbstractAuthenticationToken
com.codename1.backend.security.saml2.Saml2Authentication
- All Implemented Interfaces:
Authentication
A user signed in through a SAML identity provider.
-
Constructor Summary
ConstructorsConstructorDescriptionSaml2Authentication(Saml2AuthenticatedPrincipal principal, Collection<? extends GrantedAuthority> authorities) -
Method Summary
Modifier and TypeMethodDescriptionWhat proves the principal is who it says: a password, usually, and null once it has been checked.getName()The principal's name.The identity: a username before authentication, and afterwards usually theUserDetailsit was resolved to.Methods inherited from class AbstractAuthenticationToken
eraseCredentials, getAuthorities, getDetails, isAuthenticated, setAuthenticated, setDetails, toString
-
Constructor Details
-
Saml2Authentication
public Saml2Authentication(Saml2AuthenticatedPrincipal principal, Collection<? extends GrantedAuthority> authorities)
-
-
Method Details
-
getPrincipal
Description copied from interface:AuthenticationThe identity: a username before authentication, and afterwards usually theUserDetailsit was resolved to. -
getCredentials
Description copied from interface:AuthenticationWhat proves the principal is who it says: a password, usually, and null once it has been checked. -
getName
Description copied from interface:AuthenticationThe principal's name.- Specified by:
getNamein interfaceAuthentication- Overrides:
getNamein classAbstractAuthenticationToken
-