Build 1.0_r1(from source)

java.security
Class SecurityPermission

java.lang.Object
  extended by java.security.Permission
      extended by java.security.BasicPermission
          extended by java.security.SecurityPermission
All Implemented Interfaces:
Serializable, Guard

public final class SecurityPermission
extends BasicPermission

SecurityPermission objects guard access to the mechanisms which implement security. Security permissions have names, but not actions.

See Also:
Serialized Form

Constructor Summary
SecurityPermission(String name)
          Creates an instance of this class with the given name.
SecurityPermission(String name, String action)
          Creates an instance of this class with the given name and action list.
 
Method Summary
 
Methods inherited from class java.security.BasicPermission
equals, getActions, hashCode, implies, nameImplies, newPermissionCollection
 
Methods inherited from class java.security.Permission
checkGuard, getName, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SecurityPermission

public SecurityPermission(String name)
Creates an instance of this class with the given name.

Parameters:
name - String the name of the new permission.

SecurityPermission

public SecurityPermission(String name,
                          String action)
Creates an instance of this class with the given name and action list. The action list is ignored.

Parameters:
name - String the name of the new permission.
action - String ignored.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature