API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.security.auth.kerberos. ServicePermission View Source
Author(s)
Since
1.4
Version
Serial
Hierarchy
 Object
      Permission
          ServicePermission
Implements
 Serializable
Subclasses
Description
publicfinal class ServicePermission
  This class is used to protect Kerberos services and the credentials necessary to access those services.
See also:   
Constructors
public ServicePermission (String servicePrincipal, String action)
  Create a new ServicePermission with the specified servicePrincipal and action.
Methods
Hide/Show inherited methods
public void checkGuard (Object object) throws SecurityException [Inherited From Permission]
  Implements the guard interface for a permission.
public boolean equals (Object obj) [Specified in Permission]
  Checks two ServicePermission objects for equality.
public String getActions () [Specified in Permission]
  Returns the canonical string representation of the actions.
pack-private int getMask ()
  Return the current action mask.
publicfinal String getName () [Inherited From Permission]
  Returns the name of this Permission.
public int hashCode () [Specified in Permission]
  Returns the hash code value for this object.
public boolean implies (Permission p) [Specified in Permission]
  Checks if this Kerberos service permission object "implies" the specified permission.
pack-private boolean impliesIgnoreMask (ServicePermission p)
public PermissionCollection newPermissionCollection () [Overrides Permission]
  Returns a PermissionCollection object for storing ServicePermission objects.
public String toString () [Inherited From Permission]
  Returns a string describing this Permission.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar