|
Message Security Layer (MSL) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.netflix.msl.entityauth.EntityAuthenticationData
com.netflix.msl.entityauth.UnauthenticatedAuthenticationData
public class UnauthenticatedAuthenticationData
Unauthenticated entity authentication data. This form of authentication is used by entities that cannot provide any form of entity authentication.
Unauthenticated entity authentication data is represented as
unauthenticatedauthdata = {
"#mandatory" : [ "identity" ],
"identity" : "string"
}
where:
identity
is the entity identity
Field Summary | |
---|---|
private String |
identity
Entity identity. |
private static String |
KEY_IDENTITY
JSON key entity identity. |
Constructor Summary | |
---|---|
UnauthenticatedAuthenticationData(JSONObject unauthenticatedAuthJO)
Construct a new unauthenticated entity authentication data instance from the provided JSON object. |
|
UnauthenticatedAuthenticationData(String identity)
Construct a new unauthenticated entity authentication data instance from the specified entity identity. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
JSONObject |
getAuthData()
|
String |
getIdentity()
|
int |
hashCode()
|
Methods inherited from class com.netflix.msl.entityauth.EntityAuthenticationData |
---|
create, getScheme, toJSONString |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static final String KEY_IDENTITY
private final String identity
Constructor Detail |
---|
public UnauthenticatedAuthenticationData(String identity)
identity
- the entity identity.UnauthenticatedAuthenticationData(JSONObject unauthenticatedAuthJO) throws MslEncodingException
unauthenticatedAuthJO
- the authentication data JSON object.
MslEncodingException
- if there is an error parsing the JSON
representation.Method Detail |
---|
public String getIdentity()
getIdentity
in class EntityAuthenticationData
public JSONObject getAuthData() throws MslEncodingException
getAuthData
in class EntityAuthenticationData
MslEncodingException
- if there was an error constructing the
JSON representation.public boolean equals(Object obj)
equals
in class EntityAuthenticationData
public int hashCode()
hashCode
in class EntityAuthenticationData
|
Message Security Layer (MSL) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |