org.wso2.carbon.user.api
Class ClaimMapping

java.lang.Object
  extended by 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 Summary
protected  Claim claim
          The claim object
protected  String mappedAttribute
          The mapped attribute in the user store
protected  Map<String,String> mappedAttributes
           
 
Constructor Summary
ClaimMapping()
           
ClaimMapping(Claim claim, String mappedAttribute)
           
 
Method Summary
 Claim getClaim()
           
 String getMappedAttribute()
           
 String getMappedAttribute(String domainName)
           
 Map<String,String> getMappedAttributes()
           
 void setClaim(Claim claim)
           
 void setMappedAttribute(String mappedAttribute)
           
 void setMappedAttribute(String domainName, String mappedAttribute)
           
 void setMappedAttributes(Map<String,String> attrMap)
           
 void setMappedAttributeWithNoDomain(String mappedAttribute)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

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 Detail

ClaimMapping

public ClaimMapping()

ClaimMapping

public ClaimMapping(Claim claim,
                    String mappedAttribute)
Method Detail

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

setMappedAttributeWithNoDomain

public void setMappedAttributeWithNoDomain(String mappedAttribute)

setMappedAttributes

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


Copyright © 2014 WSO2 Inc. All rights reserved.