GigaSpaces XAP 9.7.2 API

org.openspaces.core.space
Class SecurityConfig

java.lang.Object
  extended by org.openspaces.core.space.SecurityConfig

public class SecurityConfig
extends Object

A configuration object allowing to configure security context (username, password) when working with the Space.

Author:
kimchy

Constructor Summary
SecurityConfig()
           
SecurityConfig(CredentialsProvider credentialsProvider)
           
SecurityConfig(String username, String password)
           
 
Method Summary
static SecurityConfig fromMarshalledProperties(Properties properties)
           
 CredentialsProvider getCredentialsProvider()
           
 String getPassword()
          Returns the password to connect to the Space with.
 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 setUsername(String username)
          Sets the username to connect to the Space with.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityConfig

public SecurityConfig()

SecurityConfig

public SecurityConfig(String username,
                      String password)

SecurityConfig

public SecurityConfig(CredentialsProvider credentialsProvider)
Method Detail

getUsername

public String getUsername()
Returns the username to connect to the Space with.


setUsername

public void setUsername(String username)
Sets the username to connect to the Space with.


getPassword

public String getPassword()
Returns the password to connect to the Space with.


setPassword

public void setPassword(String password)
Sets the password to connect to the Space with.


getCredentialsProvider

public CredentialsProvider getCredentialsProvider()

isFilled

public boolean isFilled()

fromMarshalledProperties

public static SecurityConfig fromMarshalledProperties(Properties properties)

GigaSpaces XAP 9.7.2 API

Copyright © GigaSpaces.