public class AuthenticationInfo extends Object
Constructor and Description |
---|
AuthenticationInfo(PrincipalProvider<?> identityPrincipal,
Object credentials)
Constructor using Principal as identity principal.
|
AuthenticationInfo(String id,
Object credentials)
Constructor using String.
|
Modifier and Type | Method and Description |
---|---|
Object |
getCredentials()
Getter credentials
|
PrincipalProvider<?> |
getIdentityPrincipal()
Getter identityPrincipal
|
Collection<PrincipalProvider<?>> |
getOtherPrincipals()
Getter otherPrincipals
|
public AuthenticationInfo(PrincipalProvider<?> identityPrincipal, Object credentials)
identityPrincipal
- identityPrincipalcredentials
- credentialspublic PrincipalProvider<?> getIdentityPrincipal()
public Collection<PrincipalProvider<?>> getOtherPrincipals()
public Object getCredentials()
Copyright © 2013-2018–2019 SeedStack. All rights reserved.