|
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.EntityAuthenticationFactory
com.netflix.msl.entityauth.UnauthenticatedAuthenticationFactory
public class UnauthenticatedAuthenticationFactory
Unauthenticated entity authentication factory.
Field Summary | |
---|---|
(package private) AuthenticationUtils |
authutils
Authentication utilities. |
Constructor Summary | |
---|---|
UnauthenticatedAuthenticationFactory(AuthenticationUtils authutils)
Construct a new unauthenticated authentication factory instance. |
Method Summary | |
---|---|
EntityAuthenticationData |
createData(MslContext ctx,
JSONObject entityAuthJO)
Construct a new entity authentication data instance from the provided JSON. |
ICryptoContext |
getCryptoContext(MslContext ctx,
EntityAuthenticationData authdata)
Create a crypto context that can be used to encrypt/decrypt and authenticate data from the entity. |
Methods inherited from class com.netflix.msl.entityauth.EntityAuthenticationFactory |
---|
getScheme |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
final AuthenticationUtils authutils
Constructor Detail |
---|
public UnauthenticatedAuthenticationFactory(AuthenticationUtils authutils)
authutils
- authentication utilities.Method Detail |
---|
public EntityAuthenticationData createData(MslContext ctx, JSONObject entityAuthJO) throws MslEncodingException
EntityAuthenticationFactory
createData
in class EntityAuthenticationFactory
ctx
- MSL context.entityAuthJO
- the JSON object.
MslEncodingException
- if there is an error parsing the JSON.public ICryptoContext getCryptoContext(MslContext ctx, EntityAuthenticationData authdata) throws MslEntityAuthException
EntityAuthenticationFactory
getCryptoContext
in class EntityAuthenticationFactory
ctx
- MSL context.authdata
- the authentication data.
MslEntityAuthException
- if there is an error with the entity
authentication data.
|
Message Security Layer (MSL) | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |