Package org.pac4j.undertow.account
Class Pac4jAccount
java.lang.Object
org.pac4j.undertow.account.Pac4jAccount
- All Implemented Interfaces:
io.undertow.security.idm.Account,Serializable
Specific account for Undertow based on the pac4j profile.
- Since:
- 1.1.0
- Author:
- Jerome Leleu
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionPac4jAccount(LinkedHashMap<String, org.pac4j.core.profile.UserProfile> profiles) -
Method Summary
-
Constructor Details
-
Pac4jAccount
-
-
Method Details
-
getRoles
- Specified by:
getRolesin interfaceio.undertow.security.idm.Account
-
getPrincipal
- Specified by:
getPrincipalin interfaceio.undertow.security.idm.Account
-
getProfile
public org.pac4j.core.profile.UserProfile getProfile()Get the main profile of the authenticated user.- Returns:
- the main profile
-
getProfiles
Get all the profiles of the authenticated user.- Returns:
- the list of profiles
-