org.apache.accumulo.core.client.security.tokens
Class NullToken

java.lang.Object
  extended by org.apache.accumulo.core.client.security.tokens.NullToken
All Implemented Interfaces:
Cloneable, Destroyable, AuthenticationToken, org.apache.hadoop.io.Writable

public class NullToken
extends Object
implements AuthenticationToken

Since:
1.5.0

Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.accumulo.core.client.security.tokens.AuthenticationToken
AuthenticationToken.Properties, AuthenticationToken.TokenProperty
 
Constructor Summary
NullToken()
           
 
Method Summary
 NullToken clone()
           
 void destroy()
           
 boolean equals(Object obj)
           
 Set<AuthenticationToken.TokenProperty> getProperties()
           
 void init(AuthenticationToken.Properties properties)
           
 boolean isDestroyed()
           
 void readFields(DataInput arg0)
           
 void write(DataOutput arg0)
           
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullToken

public NullToken()
Method Detail

readFields

public void readFields(DataInput arg0)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput arg0)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

destroy

public void destroy()
             throws DestroyFailedException
Specified by:
destroy in interface Destroyable
Throws:
DestroyFailedException

isDestroyed

public boolean isDestroyed()
Specified by:
isDestroyed in interface Destroyable

clone

public NullToken clone()
Specified by:
clone in interface AuthenticationToken
Overrides:
clone in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

init

public void init(AuthenticationToken.Properties properties)
Specified by:
init in interface AuthenticationToken

getProperties

public Set<AuthenticationToken.TokenProperty> getProperties()
Specified by:
getProperties in interface AuthenticationToken


Copyright © 2013 Apache Accumulo Project. All Rights Reserved.