org.apache.accumulo.core.client.security
Enum SecurityErrorCode

java.lang.Object
  extended by java.lang.Enum<SecurityErrorCode>
      extended by org.apache.accumulo.core.client.security.SecurityErrorCode
All Implemented Interfaces:
Serializable, Comparable<SecurityErrorCode>

public enum SecurityErrorCode
extends Enum<SecurityErrorCode>


Enum Constant Summary
AUTHENTICATOR_FAILED
           
AUTHORIZOR_FAILED
           
BAD_AUTHORIZATIONS
           
BAD_CREDENTIALS
           
CONNECTION_ERROR
           
DEFAULT_SECURITY_ERROR
           
GRANT_INVALID
           
INSUFFICIENT_PROPERTIES
           
INVALID_INSTANCEID
           
INVALID_TOKEN
           
NAMESPACE_DOESNT_EXIST
           
PERMISSION_DENIED
           
PERMISSIONHANDLER_FAILED
           
SERIALIZATION_ERROR
           
TABLE_DOESNT_EXIST
           
TOKEN_EXPIRED
           
UNSUPPORTED_OPERATION
           
USER_DOESNT_EXIST
           
USER_EXISTS
           
 
Method Summary
static SecurityErrorCode valueOf(String name)
          Returns the enum constant of this type with the specified name.
static SecurityErrorCode[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

DEFAULT_SECURITY_ERROR

public static final SecurityErrorCode DEFAULT_SECURITY_ERROR

BAD_CREDENTIALS

public static final SecurityErrorCode BAD_CREDENTIALS

PERMISSION_DENIED

public static final SecurityErrorCode PERMISSION_DENIED

USER_DOESNT_EXIST

public static final SecurityErrorCode USER_DOESNT_EXIST

CONNECTION_ERROR

public static final SecurityErrorCode CONNECTION_ERROR

USER_EXISTS

public static final SecurityErrorCode USER_EXISTS

GRANT_INVALID

public static final SecurityErrorCode GRANT_INVALID

BAD_AUTHORIZATIONS

public static final SecurityErrorCode BAD_AUTHORIZATIONS

INVALID_INSTANCEID

public static final SecurityErrorCode INVALID_INSTANCEID

TABLE_DOESNT_EXIST

public static final SecurityErrorCode TABLE_DOESNT_EXIST

UNSUPPORTED_OPERATION

public static final SecurityErrorCode UNSUPPORTED_OPERATION

INVALID_TOKEN

public static final SecurityErrorCode INVALID_TOKEN

AUTHENTICATOR_FAILED

public static final SecurityErrorCode AUTHENTICATOR_FAILED

AUTHORIZOR_FAILED

public static final SecurityErrorCode AUTHORIZOR_FAILED

PERMISSIONHANDLER_FAILED

public static final SecurityErrorCode PERMISSIONHANDLER_FAILED

TOKEN_EXPIRED

public static final SecurityErrorCode TOKEN_EXPIRED

SERIALIZATION_ERROR

public static final SecurityErrorCode SERIALIZATION_ERROR

INSUFFICIENT_PROPERTIES

public static final SecurityErrorCode INSUFFICIENT_PROPERTIES

NAMESPACE_DOESNT_EXIST

public static final SecurityErrorCode NAMESPACE_DOESNT_EXIST
Method Detail

values

public static SecurityErrorCode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:
for (SecurityErrorCode c : SecurityErrorCode.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static SecurityErrorCode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Parameters:
name - the name of the enum constant to be returned.
Returns:
the enum constant with the specified name
Throws:
IllegalArgumentException - if this enum type has no constant with the specified name
NullPointerException - if the argument is null


Copyright © 2015 Apache Accumulo Project. All rights reserved.