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 |
|---|---|
int |
getClassId() |
int |
getFactoryId() |
String |
getPassword() |
byte[] |
getRawPassword() |
String |
getUsername() |
protected void |
readPortableInternal(PortableReader reader) |
void |
setPassword(String password) |
void |
setUsername(String username) |
String |
toString() |
protected void |
writePortableInternal(PortableWriter writer) |
equals, getEndpoint, getPrincipal, hashCode, readPortable, setEndpoint, setPrincipal, writePortablepublic String getUsername()
public byte[] getRawPassword()
public String getPassword()
public void setUsername(String username)
public void setPassword(String password)
protected void writePortableInternal(PortableWriter writer) throws IOException
writePortableInternal in class AbstractCredentialsIOExceptionprotected void readPortableInternal(PortableReader reader) throws IOException
readPortableInternal in class AbstractCredentialsIOExceptionpublic int getFactoryId()
public int getClassId()
Copyright © 2017 Hazelcast, Inc.. All Rights Reserved.