Overview | Module | Use | Devguide | Index

Nested Modules | Services | Singletons | Interfaces | Structs | Exceptions | Enums | Typedefs | Constant Groups

:: com :: sun :: star ::
module security
Description Interface for authorisation and authentification.

Services
AccessController | This meta service supports the XAccessController interface for checking security permissions. @attention The specific service implementation of this meta service has to take care of bootstrapping problems, i.e. recurring calls during initialization have to be resolved. This happens when the implementation calls other service implementations. Also, it obviously has also to be ensured that the object is process-local to assure that permission checks are not corrupted via insecure inter-process communication.
Policy | Service for getting sets of permissions reading from some persistent storage.

Interfaces
XAccessControlContext | An XAccessControlContext is used to make system resource access decisions based on the context it encapsulates.
XAccessController | Interface for checking permissions and invoking privileged or restricted actions.
XAction | Interface for running an action.
XPolicy | Interface for getting sets of permissions of a specified user or the default permissions if no user is given.

Structs
AllPermission | The AllPermission is a permission that implies all other permissions. @attention Granting AllPermission should be done with extreme care, as it implies all other permissions. Thus, it grants code the ability to run with security disabled. Extreme caution should be taken before granting such a permission to code. This permission should be used only during testing, or in extremely rare cases where an application is completely trusted and adding the necessary permissions to the policy is prohibitively cumbersome.
RuntimePermission | This permission grants runtime access to some named functionality. A RuntimePermission contains a name (also referred to as a "target name") but no actions list; you either have the named permission or you don't.

Exceptions
AccessControlException | Exception notifying a lacking permission to access data or execute code thus it is thrown if permission ought to be denied.

Top of Page

Copyright © 2003 Sun Microsystems, Inc.