Class UserProfileContext

    • Method Detail

      • getDistinguishedName

        public String getDistinguishedName()
        Get the user's distinguished name (dn) or null if none.
        Returns:
        the distinguished name (dn) or null if none.
      • getCommonName

        public String getCommonName()
        Get the user's common name (cn) or null if none.
        Returns:
        the common name (cn) or null if none.
      • getRawInfo

        public Map<String,​Object> getRawInfo()
        Returns the unmodifiable Map of the user profile info, not null.
        Returns:
        the unmodifiable Map of the user profile info, not null.
      • getRealm

        public String getRealm()
        Get the user's realm or null if none.
        Returns:
        the realm or null if none.
      • getUsername

        public String getUsername()
        Get the user's username or null if none.
        Returns:
        the username, or null if none.
      • asJsonValue

        public JsonValue asJsonValue()
        Get the raw JSON representation as a JsonValue. This is not null and will contain the Access Management user profile object structure, though values may be null.
        Returns:
        the JSON representation, not null.