Class NullToken
- java.lang.Object
-
- 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.AuthenticationTokenSerializer, AuthenticationToken.Properties, AuthenticationToken.TokenProperty
-
-
Constructor Summary
Constructors Constructor Description NullToken()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NullTokenclone()voiddestroy()booleanequals(Object obj)Set<AuthenticationToken.TokenProperty>getProperties()inthashCode()voidinit(AuthenticationToken.Properties properties)booleanisDestroyed()voidreadFields(DataInput arg0)voidwrite(DataOutput arg0)
-
-
-
Method Detail
-
readFields
public void readFields(DataInput arg0) throws IOException
- Specified by:
readFieldsin interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
write
public void write(DataOutput arg0) throws IOException
- Specified by:
writein interfaceorg.apache.hadoop.io.Writable- Throws:
IOException
-
destroy
public void destroy() throws DestroyFailedException- Specified by:
destroyin interfaceDestroyable- Throws:
DestroyFailedException
-
isDestroyed
public boolean isDestroyed()
- Specified by:
isDestroyedin interfaceDestroyable
-
clone
public NullToken clone()
- Specified by:
clonein interfaceAuthenticationToken- Overrides:
clonein classObject
-
init
public void init(AuthenticationToken.Properties properties)
- Specified by:
initin interfaceAuthenticationToken
-
getProperties
public Set<AuthenticationToken.TokenProperty> getProperties()
- Specified by:
getPropertiesin interfaceAuthenticationToken
-
-