Class AzkarraAccount
- java.lang.Object
-
- io.streamthoughts.azkarra.http.security.AzkarraAccount
-
- All Implemented Interfaces:
io.undertow.security.idm.Account
,Serializable
public class AzkarraAccount extends Object implements io.undertow.security.idm.Account
AzkarraAccount.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description AzkarraAccount(Principal principal, Credentials credentials, UserDetails userDetails)
Creates a newAzkarraAccount
instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Credentials
getCredentials()
Principal
getPrincipal()
Set<String>
getRoles()
int
hashCode()
UserDetails
userDetails()
-
-
-
Constructor Detail
-
AzkarraAccount
public AzkarraAccount(Principal principal, Credentials credentials, UserDetails userDetails)
Creates a newAzkarraAccount
instance.- Parameters:
principal
- thePrincipal
instance.credentials
- theCredentials
instance.userDetails
- theUserDetails
instance.
-
-
Method Detail
-
getPrincipal
public Principal getPrincipal()
- Specified by:
getPrincipal
in interfaceio.undertow.security.idm.Account
-
getRoles
public Set<String> getRoles()
- Specified by:
getRoles
in interfaceio.undertow.security.idm.Account
-
userDetails
public UserDetails userDetails()
-
getCredentials
public Credentials getCredentials()
-
-