Package org.restheart.security
Class JwtAccount
java.lang.Object
org.restheart.security.BaseAccount
org.restheart.security.JwtAccount
- All Implemented Interfaces:
io.undertow.security.idm.Account,Serializable,WithProperties<String>
Jwt Account
- Author:
- Andrea Di Cesare <andrea@softinstigate.com>
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.restheart.security.BaseAccount
getPrincipal, getRoles
-
Constructor Details
-
JwtAccount
- Parameters:
name-roles-properties-
-
-
Method Details
-
toString
- Overrides:
toStringin classBaseAccount
-
properties
- Specified by:
propertiesin interfaceWithProperties<String>- Returns:
- the jwt payload as string
-
propertiesAsMap
- Specified by:
propertiesAsMapin interfaceWithProperties<String>
-