public class SecurityConfig extends Object
Constructor and Description |
---|
SecurityConfig() |
SecurityConfig(CredentialsProvider credentialsProvider) |
SecurityConfig(String token) |
SecurityConfig(String username,
String password) |
Modifier and Type | Method and Description |
---|---|
static SecurityConfig |
fromMarshalledProperties(Properties properties) |
CredentialsProvider |
getCredentialsProvider() |
String |
getPassword()
Returns the password to connect to the Space with.
|
String |
getToken() |
String |
getUsername()
Returns the username to connect to the Space with.
|
boolean |
isFilled() |
void |
setPassword(String password)
Sets the password to connect to the Space with.
|
void |
setToken(String token) |
void |
setUsername(String username)
Sets the username to connect to the Space with.
|
String |
toString() |
public SecurityConfig()
public SecurityConfig(String token)
public SecurityConfig(CredentialsProvider credentialsProvider)
public String getUsername()
public void setUsername(String username)
public String getPassword()
public void setPassword(String password)
public String getToken()
public void setToken(String token)
public CredentialsProvider getCredentialsProvider()
public boolean isFilled()
public static SecurityConfig fromMarshalledProperties(Properties properties)
Copyright © GigaSpaces.