Class ClaimMapping

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

public class ClaimMapping extends Object
This class represents the claim mapping between a given claim to the actual attribute which resides in the user store.
  • Field Details

    • claim

      protected Claim claim
      The claim object
    • mappedAttribute

      protected String mappedAttribute
      The mapped attribute in the user store
    • mappedAttributes

      protected Map<String,String> mappedAttributes
  • Constructor Details

    • ClaimMapping

      public ClaimMapping()
    • ClaimMapping

      public ClaimMapping(Claim claim, String mappedAttribute)
  • Method Details

    • getClaim

      public Claim getClaim()
    • setClaim

      public void setClaim(Claim claim)
    • getMappedAttribute

      public String getMappedAttribute()
    • setMappedAttribute

      public void setMappedAttribute(String mappedAttribute)
    • setMappedAttribute

      public void setMappedAttribute(String domainName, String mappedAttribute)
    • getMappedAttribute

      public String getMappedAttribute(String domainName)
    • getMappedAttributes

      public Map<String,String> getMappedAttributes()
    • setMappedAttributes

      public void setMappedAttributes(Map<String,String> attrMap)
    • setMappedAttributeWithNoDomain

      public void setMappedAttributeWithNoDomain(String mappedAttribute)
    • getMappedAttributeWithNoDomain

      public String getMappedAttributeWithNoDomain()