GigaSpaces XAP 7.0 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(String username, String password)
           
SecurityConfig(UserDetails userDetails)
           
 
Method Summary
 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.
 UserDetails toUserDetails()
           
 
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(UserDetails userDetails)
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.


toUserDetails

public UserDetails toUserDetails()

isFilled

public boolean isFilled()

GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.