GigaSpaces - Open Spaces

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()
           
 
Method Summary
 String getPassword()
          Returns the password to connect to the Space with.
 String getPermissions()
          Sets the permissions for operations on the space.
 String getUsername()
          Returns the username to connect to the Space with.
 boolean isEncrypted()
          Returns if the password is encrypted or not.
 void setEncrypted(boolean encrypted)
          Sets if the password is encrypted or not.
 void setPassword(String password)
          Sets the password to connect to the Space with.
 void setPermissions(String permissions)
          Returns the permissions for operations on the space.
 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()
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.


isEncrypted

public boolean isEncrypted()
Returns if the password is encrypted or not.


setEncrypted

public void setEncrypted(boolean encrypted)
Sets if the password is encrypted or not.


getPermissions

public String getPermissions()
Sets the permissions for operations on the space. Consists of concatanation of R (read operations), W (write operations) and A (admin operations).


setPermissions

public void setPermissions(String permissions)
Returns the permissions for operations on the space. Consists of concatanation of R (read operations), W (write operations) and A (admin operations).


GigaSpaces - Open Spaces

Copyright © GigaSpaces.