Package org.pac4j.jwt.profile
Class JwtProfileDefinition
java.lang.Object
org.pac4j.core.profile.definition.ProfileDefinition
org.pac4j.core.profile.definition.CommonProfileDefinition
org.pac4j.jwt.profile.JwtProfileDefinition
public class JwtProfileDefinition
extends org.pac4j.core.profile.definition.CommonProfileDefinition
This is
JwtProfileDefinition
.- Since:
- 5.0.1
- Author:
- Misagh Moayyed
-
Field Summary
Fields inherited from class org.pac4j.core.profile.definition.CommonProfileDefinition
DISPLAY_NAME, EMAIL, FAMILY_NAME, FIRST_NAME, GENDER, LOCALE, LOCATION, PICTURE_URL, PROFILE_URL
Fields inherited from class org.pac4j.core.profile.definition.ProfileDefinition
logger
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
convertAndAdd
(org.pac4j.core.profile.UserProfile profile, org.pac4j.core.profile.AttributeLocation attributeLocation, String name, Object value) void
setKeepNestedAttributes
(boolean keepNestedAttributes) Setter for the fieldkeepNestedAttributes
.Methods inherited from class org.pac4j.core.profile.definition.CommonProfileDefinition
configurePrimaryAttributes
Methods inherited from class org.pac4j.core.profile.definition.ProfileDefinition
convertAndAdd, getConverters, getLogger, getParameter, getPrimaryAttributes, getProfileFactory, getProfileId, getSecondaryAttributes, isRestoreProfileFromTypedId, newProfile, primary, secondary, setProfileFactory, setProfileId, setRestoreProfileFromTypedId
-
Constructor Details
-
JwtProfileDefinition
public JwtProfileDefinition()Constructor for JwtProfileDefinition.
-
-
Method Details
-
convertAndAdd
public void convertAndAdd(org.pac4j.core.profile.UserProfile profile, org.pac4j.core.profile.AttributeLocation attributeLocation, String name, Object value) - Overrides:
convertAndAdd
in classorg.pac4j.core.profile.definition.ProfileDefinition
-
setKeepNestedAttributes
public void setKeepNestedAttributes(boolean keepNestedAttributes) Setter for the field
keepNestedAttributes
.- Parameters:
keepNestedAttributes
- a boolean
-