org.apache.accumulo.server.security
Class SecurityConstants

java.lang.Object
  extended by org.apache.accumulo.server.security.SecurityConstants

public class SecurityConstants
extends Object


Field Summary
static byte[] confChecksum
           
static String SYSTEM_USERNAME
           
 
Constructor Summary
SecurityConstants()
           
 
Method Summary
static TabletServerState compareSystemPassword(byte[] base64encodedPassword)
          Compare a byte array to the system password.
static AuthInfo getSystemCredentials()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SYSTEM_USERNAME

public static final String SYSTEM_USERNAME
See Also:
Constant Field Values

confChecksum

public static byte[] confChecksum
Constructor Detail

SecurityConstants

public SecurityConstants()
Method Detail

getSystemCredentials

public static AuthInfo getSystemCredentials()

compareSystemPassword

public static TabletServerState compareSystemPassword(byte[] base64encodedPassword)
Compare a byte array to the system password.

Returns:
RESERVED if the passwords match, otherwise a state that describes the failure state


Copyright © 2012 The Apache Software Foundation. All Rights Reserved.