Package org.openspaces.core.space
Class SecurityConfig
java.lang.Object
org.openspaces.core.space.SecurityConfig
A configuration object allowing to configure security context (username, password) when working
with the Space.
- Author:
- kimchy
-
Constructor Summary
ConstructorsConstructorDescriptionSecurityConfig(CredentialsProvider credentialsProvider) SecurityConfig(String token) SecurityConfig(String username, String password) -
Method Summary
Modifier and TypeMethodDescriptionstatic SecurityConfigfromMarshalledProperties(Properties properties) getCode()Returns the password to connect to the Space with.getToken()Returns the username to connect to the Space with.booleanisFilled()voidvoidsetPassword(String password) Sets the password to connect to the Space with.voidsetServiceId(String serviceId) voidvoidsetUsername(String username) Sets the username to connect to the Space with.toString()
-
Constructor Details
-
SecurityConfig
public SecurityConfig() -
SecurityConfig
-
SecurityConfig
-
SecurityConfig
-
-
Method Details
-
getUsername
Returns the username to connect to the Space with. -
setUsername
Sets the username to connect to the Space with. -
getPassword
Returns the password to connect to the Space with. -
setPassword
Sets the password to connect to the Space with. -
getToken
-
setToken
-
getServiceId
-
setServiceId
-
getCode
-
setCode
-
getCredentialsProvider
-
isFilled
public boolean isFilled() -
toString
-
fromMarshalledProperties
-