public class SimpleAuthenticationUtils
extends java.lang.Object
implements com.netflix.msl.util.AuthenticationUtils
Restrict clients to unauthenticated entity authentication and the local server to RSA entity authentication. Restrict key exchange to asymmetric wrapped key exchange.
| Constructor and Description |
|---|
SimpleAuthenticationUtils(java.lang.String serverId)
Create a new authentication utils instance for the specified server
identity.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
isEntityRevoked(java.lang.String identity) |
boolean |
isSchemePermitted(java.lang.String identity,
com.netflix.msl.entityauth.EntityAuthenticationScheme scheme) |
boolean |
isSchemePermitted(java.lang.String identity,
com.netflix.msl.keyx.KeyExchangeScheme scheme) |
boolean |
isSchemePermitted(java.lang.String identity,
com.netflix.msl.tokens.MslUser user,
com.netflix.msl.userauth.UserAuthenticationScheme scheme) |
boolean |
isSchemePermitted(java.lang.String identity,
com.netflix.msl.userauth.UserAuthenticationScheme scheme) |
public SimpleAuthenticationUtils(java.lang.String serverId)
Create a new authentication utils instance for the specified server identity.
serverId - local server entity identity.public boolean isEntityRevoked(java.lang.String identity)
isEntityRevoked in interface com.netflix.msl.util.AuthenticationUtilspublic boolean isSchemePermitted(java.lang.String identity,
com.netflix.msl.entityauth.EntityAuthenticationScheme scheme)
isSchemePermitted in interface com.netflix.msl.util.AuthenticationUtilspublic boolean isSchemePermitted(java.lang.String identity,
com.netflix.msl.userauth.UserAuthenticationScheme scheme)
isSchemePermitted in interface com.netflix.msl.util.AuthenticationUtilspublic boolean isSchemePermitted(java.lang.String identity,
com.netflix.msl.tokens.MslUser user,
com.netflix.msl.userauth.UserAuthenticationScheme scheme)
isSchemePermitted in interface com.netflix.msl.util.AuthenticationUtilspublic boolean isSchemePermitted(java.lang.String identity,
com.netflix.msl.keyx.KeyExchangeScheme scheme)
isSchemePermitted in interface com.netflix.msl.util.AuthenticationUtils