Class IdentityTaV

  • Direct Known Subclasses:
    IdentityParam

    public class IdentityTaV
    extends Object
    Represents an identity type and value. This class is useful to address existing identity as a parameter.

    Optionally a target can be set. Then the identity can be resolved for the specified receiver.

    Author:
    K. Benedyczak
    • Constructor Detail

      • IdentityTaV

        public IdentityTaV​(String type,
                           String value)
      • IdentityTaV

        public IdentityTaV​(com.fasterxml.jackson.databind.node.ObjectNode src)
      • IdentityTaV

        public IdentityTaV​(String type,
                           com.fasterxml.jackson.databind.node.ObjectNode src)
    • Method Detail

      • getValue

        public String getValue()
      • getTypeId

        public String getTypeId()
      • setTypeId

        public void setTypeId​(String type)
      • setValue

        public void setValue​(String value)
      • getTarget

        public String getTarget()
      • setTarget

        public void setTarget​(String target)
      • getRealm

        public String getRealm()
        Returns:
        authentication realm in which this identity is applicable or null when it is not realm specific.
      • setRealm

        public void setRealm​(String realm)
      • toJson

        public com.fasterxml.jackson.databind.node.ObjectNode toJson()
      • toJsonBase

        public com.fasterxml.jackson.databind.node.ObjectNode toJsonBase()
      • toString

        public String toString()
        Overrides:
        toString in class Object
        Returns:
        full String representation
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object