public class UsernamePasswordCredentials extends AbstractCredentials
Credentials
using
username and password as security attributes.Constructor and Description |
---|
UsernamePasswordCredentials() |
UsernamePasswordCredentials(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
String |
getPassword() |
byte[] |
getRawPassword() |
String |
getUsername() |
void |
readDataInternal(DataInput in) |
void |
setPassword(String password) |
void |
setUsername(String username) |
String |
toString() |
void |
writeDataInternal(DataOutput out) |
equals, getEndpoint, getPrincipal, hashCode, readData, setEndpoint, setPrincipal, writeData
public String getUsername()
public byte[] getRawPassword()
public String getPassword()
public void setUsername(String username)
public void setPassword(String password)
public void writeDataInternal(DataOutput out) throws IOException
writeDataInternal
in class AbstractCredentials
IOException
public void readDataInternal(DataInput in) throws IOException
readDataInternal
in class AbstractCredentials
IOException
Copyright © 2008-2013 Hazelcast, Inc. All Rights Reserved.