Package pl.edu.icm.unity.types.basic
Class IdentityTaV
- java.lang.Object
-
- pl.edu.icm.unity.types.basic.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 Summary
Constructors Constructor Description IdentityTaV(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
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object obj)
String
getRealm()
String
getTarget()
String
getTypeId()
String
getValue()
int
hashCode()
void
setRealm(String realm)
void
setTarget(String target)
void
setTypeId(String type)
void
setValue(String value)
com.fasterxml.jackson.databind.node.ObjectNode
toJson()
com.fasterxml.jackson.databind.node.ObjectNode
toJsonBase()
String
toString()
-
-
-
Constructor Detail
-
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()
-
-