Package com.gigaspaces.security
package com.gigaspaces.security
Security
GigaSpaces security is used to secure numerous demanding environments at different levels of security. GigaSpaces provides a default security implementation with some handy extension points.Custom Extensions
Encoding
The default GigaSpaces security implementation uses MD5 as the default algorithm to encrypt passwords (seePasswordEncoder),
and AES as the default algorithm to encrypt contents stored in a file (see ContentEncoder).
File-Service
The default GigaSpaces security implementation stores the users and roles in a local file-system. TheFileService interface defines the file access mechanism; The default implementation is the
LocalFileService. It can be replaced by URLFileService to read the file contents from an HTTP Server.
Custom Security
The main security interface isSecurityManager which is responsible for authentication and creating of the
DirectoryManager. These are the two interfaces of interest when implementing your own custom security.-
ClassDescriptionThrown if an operation is performed without a required authority.Represents an authenticated request, returned on successful call to
SecurityManager.authenticate(UserDetails).Thrown if an authentication is invalid.An Authentication token which is used to further interact without using sensitive authentication details (i.e.Interface for all authorities that may be granted to a user.A factory for creating anAuthorityinstance back from its String representation returned byAuthority.getAuthority()Base class for all security related exceptions.A factory for creating anSecurityManagerand locating of security properties file by name.Interface for authentication and creating of the directory manager.