public class DirectoryAccessDeniedException extends AccessDeniedException
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.
Constructor and Description |
---|
DirectoryAccessDeniedException(String message)
Constructs a
DirectoryAccessDeniedException with the specified detail message. |
DirectoryAccessDeniedException(String message,
Throwable cause)
Creates a
DirectoryAccessDeniedException with the specified detail message and cause. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DirectoryAccessDeniedException(String message)
DirectoryAccessDeniedException
with the specified detail message.message
- the detail message.public DirectoryAccessDeniedException(String message, Throwable cause)
DirectoryAccessDeniedException
with the specified detail message and cause.message
- the detail message (which is saved for later retrieval by the
Throwable.getMessage()
method).cause
- the cause (which is saved for later retrieval by the Throwable.getCause()
method). (A null value is permitted, and indicates that the cause is
nonexistent or unknown.)Copyright © GigaSpaces.