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 Details

  • Constructor Details

    • Relationship

      public Relationship()
  • Method Details

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