Class 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.
    • 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)
      • setClaimsMapper

        public void setClaimsMapper​(ClaimsMapper claimsMapper)
      • setType

        public void setType​(String type)
      • getType

        public String getType()