Package org.apache.cxf.sts.token.realm
Class Relationship
- java.lang.Object
-
- 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
Fields Modifier and Type Field Description static StringFED_TYPE_CLAIMSstatic StringFED_TYPE_IDENTITY
-
Constructor Summary
Constructors Constructor Description Relationship()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ClaimsMappergetClaimsMapper()IdentityMappergetIdentityMapper()StringgetSourceRealm()StringgetTargetRealm()StringgetType()voidsetClaimsMapper(ClaimsMapper claimsMapper)voidsetIdentityMapper(IdentityMapper identityMapper)voidsetSourceRealm(String sourceRealm)voidsetTargetRealm(String targetRealm)voidsetType(String type)
-
-
-
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
-
-
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()
-
-