Class DirectoryAccessDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.SecurityException
com.gigaspaces.security.SecurityException
com.gigaspaces.security.AccessDeniedException
com.gigaspaces.security.directory.DirectoryAccessDeniedException
- All Implemented Interfaces:
Serializable
A
DirectoryAccessDeniedException is thrown as a result of an access restriction when
calling SecurityManager.createDirectoryManager(UserDetails). This is usually the case
when the security implementation relies on external tools to modify the directory. Our default implementation allows management of the directory using the UI (GigaSpaces Management Center), which might be irrelevant for custom implementation. This exception will restrict access to the directory from direct calls to this API.
- Since:
- 7.0.1
- Author:
- Moran Avigdor
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDirectoryAccessDeniedException(String message) Constructs aDirectoryAccessDeniedExceptionwith the specified detail message.DirectoryAccessDeniedException(String message, Throwable cause) Creates aDirectoryAccessDeniedExceptionwith the specified detail message and cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
DirectoryAccessDeniedException
Constructs aDirectoryAccessDeniedExceptionwith the specified detail message.- Parameters:
message- the detail message.
-
DirectoryAccessDeniedException
Creates aDirectoryAccessDeniedExceptionwith the specified detail message and cause.- Parameters:
message- the detail message (which is saved for later retrieval by theThrowable.getMessage()method).cause- the cause (which is saved for later retrieval by theThrowable.getCause()method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
-