GigaSpaces XAP 7.0 API

com.gigaspaces.security.directory
Class DirectoryAccessDeniedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.SecurityException
                  extended by com.gigaspaces.security.SecurityException
                      extended by com.gigaspaces.security.AccessDeniedException
                          extended by com.gigaspaces.security.directory.DirectoryAccessDeniedException
All Implemented Interfaces:
Serializable

public class DirectoryAccessDeniedException
extends AccessDeniedException

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:
Serialized Form

Constructor Summary
DirectoryAccessDeniedException(String message)
          
DirectoryAccessDeniedException(String message, Throwable cause)
          
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DirectoryAccessDeniedException

public DirectoryAccessDeniedException(String message)


DirectoryAccessDeniedException

public DirectoryAccessDeniedException(String message,
                                      Throwable cause)


GigaSpaces XAP 7.0 API

Copyright © GigaSpaces.