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

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

Deprecated. since 1.5, see org.apache.accumulo.core.client.impl.thrift.SecurityErrorCode

public enum SecurityErrorCode
extends Enum<SecurityErrorCode>
implements org.apache.thrift.TEnum


Enum Constant Summary
AUTHENTICATOR_FAILED
          Deprecated.  
AUTHORIZOR_FAILED
          Deprecated.  
BAD_AUTHORIZATIONS
          Deprecated.  
BAD_CREDENTIALS
          Deprecated.  
CONNECTION_ERROR
          Deprecated.  
DEFAULT_SECURITY_ERROR
          Deprecated.  
GRANT_INVALID
          Deprecated.  
INSUFFICIENT_PROPERTIES
          Deprecated.  
INVALID_INSTANCEID
          Deprecated.  
INVALID_TOKEN
          Deprecated.  
PERMISSION_DENIED
          Deprecated.  
PERMISSIONHANDLER_FAILED
          Deprecated.  
SERIALIZATION_ERROR
          Deprecated.  
TABLE_DOESNT_EXIST
          Deprecated.  
TOKEN_EXPIRED
          Deprecated.  
UNSUPPORTED_OPERATION
          Deprecated.  
USER_DOESNT_EXIST
          Deprecated.  
USER_EXISTS
          Deprecated.  
 
Method Summary
static SecurityErrorCode findByValue(int value)
          Deprecated. Find a the enum type by its integer value, as defined in the Thrift IDL.
 int getValue()
          Deprecated. Get the integer value of this enum value, as defined in the Thrift IDL.
static SecurityErrorCode valueOf(String name)
          Deprecated. Returns the enum constant of this type with the specified name.
static SecurityErrorCode[] values()
          Deprecated. 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
Deprecated. 

BAD_CREDENTIALS

public static final SecurityErrorCode BAD_CREDENTIALS
Deprecated. 

PERMISSION_DENIED

public static final SecurityErrorCode PERMISSION_DENIED
Deprecated. 

USER_DOESNT_EXIST

public static final SecurityErrorCode USER_DOESNT_EXIST
Deprecated. 

CONNECTION_ERROR

public static final SecurityErrorCode CONNECTION_ERROR
Deprecated. 

USER_EXISTS

public static final SecurityErrorCode USER_EXISTS
Deprecated. 

GRANT_INVALID

public static final SecurityErrorCode GRANT_INVALID
Deprecated. 

BAD_AUTHORIZATIONS

public static final SecurityErrorCode BAD_AUTHORIZATIONS
Deprecated. 

INVALID_INSTANCEID

public static final SecurityErrorCode INVALID_INSTANCEID
Deprecated. 

TABLE_DOESNT_EXIST

public static final SecurityErrorCode TABLE_DOESNT_EXIST
Deprecated. 

UNSUPPORTED_OPERATION

public static final SecurityErrorCode UNSUPPORTED_OPERATION
Deprecated. 

INVALID_TOKEN

public static final SecurityErrorCode INVALID_TOKEN
Deprecated. 

AUTHENTICATOR_FAILED

public static final SecurityErrorCode AUTHENTICATOR_FAILED
Deprecated. 

AUTHORIZOR_FAILED

public static final SecurityErrorCode AUTHORIZOR_FAILED
Deprecated. 

PERMISSIONHANDLER_FAILED

public static final SecurityErrorCode PERMISSIONHANDLER_FAILED
Deprecated. 

TOKEN_EXPIRED

public static final SecurityErrorCode TOKEN_EXPIRED
Deprecated. 

SERIALIZATION_ERROR

public static final SecurityErrorCode SERIALIZATION_ERROR
Deprecated. 

INSUFFICIENT_PROPERTIES

public static final SecurityErrorCode INSUFFICIENT_PROPERTIES
Deprecated. 
Method Detail

values

public static SecurityErrorCode[] values()
Deprecated. 
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)
Deprecated. 
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

getValue

public int getValue()
Deprecated. 
Get the integer value of this enum value, as defined in the Thrift IDL.

Specified by:
getValue in interface org.apache.thrift.TEnum

findByValue

public static SecurityErrorCode findByValue(int value)
Deprecated. 
Find a the enum type by its integer value, as defined in the Thrift IDL.

Returns:
null if the value is not found.


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.