Class ProfileConfiguration

java.lang.Object
org.wso2.carbon.user.api.ProfileConfiguration

public class ProfileConfiguration extends Object
The class managing the profile configuration. A profile of a user is collection of claims. Claims can be in one of the three states - hidden, overridden or inherited.
  • InheritedClaim - If the value of the claim is null then, read the value of the claim Default profile.
  • Hidden - The claim is hidden in this profile.
  • Overridden - Always read the value of the claim from current profile.
  • Constructor Details

    • ProfileConfiguration

      public ProfileConfiguration()
    • ProfileConfiguration

      public ProfileConfiguration(String profileName, List<String> hiddenClaims, List<String> overriddenClaims, List<String> inheritedClaims)
    • ProfileConfiguration

      public ProfileConfiguration(String profileName, String dialect, List<String> hiddenClaims, List<String> overriddenClaims, List<String> inheritedClaims)
  • Method Details

    • getInheritedClaims

      public List<String> getInheritedClaims()
    • setInheritedClaims

      public void setInheritedClaims(List<String> inheritedClaims)
    • getProfileName

      public String getProfileName()
    • setProfileName

      public void setProfileName(String profileName)
    • getHiddenClaims

      public List<String> getHiddenClaims()
    • setHiddenClaims

      public void setHiddenClaims(List<String> hiddenClaims)
    • getOverriddenClaims

      public List<String> getOverriddenClaims()
    • setOverriddenClaims

      public void setOverriddenClaims(List<String> overriddenClaims)
    • getDialectName

      public String getDialectName()
    • setDialectName

      public void setDialectName(String dialectName)
    • addInheritedClaim

      public void addInheritedClaim(String claimUri)
    • addHiddenClaim

      public void addHiddenClaim(String claimUri)
    • addOverriddenClaim

      public void addOverriddenClaim(String claimUri)