Apache CXF API

org.apache.cxf.sts.token.realm
Class Relationship

java.lang.Object
  extended by org.apache.cxf.sts.token.realm.Relationship

public class Relationship
extends Object

This class holds the parameters that will be required to define a one-way relationship between a source and target realm. Two types of relationships are supported: FederatedIdentity and FederatedClaims If the realm of received token in the RST differs with the target realm either the configured IdentityMapper of ClaimsMapper are called depending on the type of relationship.


Field Summary
static String FED_TYPE_CLAIMS
           
static String FED_TYPE_IDENTITY
           
 
Constructor Summary
Relationship()
           
 
Method Summary
 ClaimsMapper getClaimsMapper()
           
 IdentityMapper getIdentityMapper()
           
 String getSourceRealm()
           
 String getTargetRealm()
           
 String getType()
           
 void setClaimsMapper(ClaimsMapper claimsMapper)
           
 void setIdentityMapper(IdentityMapper identityMapper)
           
 void setSourceRealm(String sourceRealm)
           
 void setTargetRealm(String targetRealm)
           
 void setType(String type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

FED_TYPE_IDENTITY

public static final String FED_TYPE_IDENTITY
See Also:
Constant Field Values

FED_TYPE_CLAIMS

public static final String FED_TYPE_CLAIMS
See Also:
Constant Field Values
Constructor Detail

Relationship

public Relationship()
Method Detail

setSourceRealm

public void setSourceRealm(String sourceRealm)

getSourceRealm

public String getSourceRealm()

setTargetRealm

public void setTargetRealm(String targetRealm)

getTargetRealm

public String getTargetRealm()

setIdentityMapper

public void setIdentityMapper(IdentityMapper identityMapper)

getIdentityMapper

public IdentityMapper getIdentityMapper()

setClaimsMapper

public void setClaimsMapper(ClaimsMapper claimsMapper)

getClaimsMapper

public ClaimsMapper getClaimsMapper()

setType

public void setType(String type)

getType

public String getType()

Apache CXF API

Apache CXF