|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.apache.accumulo.core.client.security.tokens.PasswordToken
public class PasswordToken
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface org.apache.accumulo.core.client.security.tokens.AuthenticationToken |
---|
AuthenticationToken.Properties, AuthenticationToken.TokenProperty |
Constructor Summary | |
---|---|
PasswordToken()
Constructor for use with Writable . |
|
PasswordToken(byte[] password)
Constructs a token from a copy of the password. |
|
PasswordToken(ByteBuffer password)
Constructs a token from a copy of the password. |
|
PasswordToken(CharSequence password)
Constructs a token from a copy of the password. |
Method Summary | |
---|---|
PasswordToken |
clone()
|
void |
destroy()
|
boolean |
equals(Object obj)
|
byte[] |
getPassword()
|
Set<AuthenticationToken.TokenProperty> |
getProperties()
|
int |
hashCode()
|
void |
init(AuthenticationToken.Properties properties)
|
boolean |
isDestroyed()
|
void |
readFields(DataInput arg0)
|
void |
write(DataOutput arg0)
|
Methods inherited from class java.lang.Object |
---|
finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PasswordToken()
Writable
. Call readFields(DataInput)
.
public PasswordToken(CharSequence password)
public PasswordToken(byte[] password)
public PasswordToken(ByteBuffer password)
Method Detail |
---|
public byte[] getPassword()
public void readFields(DataInput arg0) throws IOException
readFields
in interface org.apache.hadoop.io.Writable
IOException
public void write(DataOutput arg0) throws IOException
write
in interface org.apache.hadoop.io.Writable
IOException
public void destroy() throws DestroyFailedException
destroy
in interface Destroyable
DestroyFailedException
public boolean isDestroyed()
isDestroyed
in interface Destroyable
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public PasswordToken clone()
clone
in interface AuthenticationToken
clone
in class Object
public void init(AuthenticationToken.Properties properties)
init
in interface AuthenticationToken
public Set<AuthenticationToken.TokenProperty> getProperties()
getProperties
in interface AuthenticationToken
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |