Package pl.edu.icm.unity.types.basic
Class IdentityTaV
java.lang.Object
pl.edu.icm.unity.types.basic.IdentityTaV
- Direct Known Subclasses:
IdentityParam
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
-
Field Summary
-
Constructor Summary
ConstructorDescriptionIdentityTaV
(com.fasterxml.jackson.databind.node.ObjectNode src) IdentityTaV
(String type, com.fasterxml.jackson.databind.node.ObjectNode src) IdentityTaV
(String type, String value) IdentityTaV
(String type, String value, String target, String realm) -
Method Summary
-
Field Details
-
value
-
target
-
realm
-
-
Constructor Details
-
IdentityTaV
-
IdentityTaV
-
IdentityTaV
public IdentityTaV(com.fasterxml.jackson.databind.node.ObjectNode src) -
IdentityTaV
-
-
Method Details
-
getValue
-
getTypeId
-
setTypeId
-
setValue
-
getTarget
-
setTarget
-
getRealm
- Returns:
- authentication realm in which this identity is applicable or null when it is not realm specific.
-
setRealm
-
toJson
public com.fasterxml.jackson.databind.node.ObjectNode toJson() -
toJsonBase
public com.fasterxml.jackson.databind.node.ObjectNode toJsonBase() -
toString
-
hashCode
public int hashCode() -
equals
-