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
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

    Constructors
    Constructor
    Description
    Constructor for JwtProfileDefinition.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    convertAndAdd(org.pac4j.core.profile.UserProfile profile, org.pac4j.core.profile.AttributeLocation attributeLocation, String name, Object value)
    void
    setKeepNestedAttributes(boolean keepNestedAttributes)
    Setter for the field keepNestedAttributes.

    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

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • 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 class org.pac4j.core.profile.definition.ProfileDefinition
    • setKeepNestedAttributes

      public void setKeepNestedAttributes(boolean keepNestedAttributes)

      Setter for the field keepNestedAttributes.

      Parameters:
      keepNestedAttributes - a boolean