Message Security Layer (MSL)

com.netflix.msl.util
Interface AuthenticationUtils


public interface AuthenticationUtils

Authentication utility functions.


Method Summary
 boolean isEntityRevoked(String identity)
          Returns true if the entity identity has been revoked.
 boolean isSchemePermitted(String identity, EntityAuthenticationScheme scheme)
          Returns true if the identified entity is permitted to use the specified entity authentication scheme.
 boolean isSchemePermitted(String identity, KeyExchangeScheme scheme)
          Returns true if the identified entity is permitted to use the specified key exchange scheme.
 boolean isSchemePermitted(String identity, UserAuthenticationScheme scheme)
          Returns true if the identified entity is permitted to use the specified user authentication scheme.
 

Method Detail

isEntityRevoked

boolean isEntityRevoked(String identity)
Returns true if the entity identity has been revoked.

Parameters:
identity - the entity identity.
Returns:
true if the entity identity has been revoked.

isSchemePermitted

boolean isSchemePermitted(String identity,
                          EntityAuthenticationScheme scheme)
Returns true if the identified entity is permitted to use the specified entity authentication scheme.

Parameters:
identity - the entity identity.
scheme - the entity authentication scheme.
Returns:
true if the entity is permitted to use the scheme.

isSchemePermitted

boolean isSchemePermitted(String identity,
                          UserAuthenticationScheme scheme)
Returns true if the identified entity is permitted to use the specified user authentication scheme.

Parameters:
identity - the entity identity.
scheme - the user authentication scheme.
Returns:
true if the entity is permitted to use the scheme.

isSchemePermitted

boolean isSchemePermitted(String identity,
                          KeyExchangeScheme scheme)
Returns true if the identified entity is permitted to use the specified key exchange scheme.

Parameters:
identity - the entity identity.
scheme - the key exchange scheme.
Returns:
true if the entity is permitted to use the scheme.

Message Security Layer (MSL)

Copyright © 2014 Netflix, Inc. All Rights Reserved.