public final class SecurityServicePermission
extends java.security.Permission
| Constructor and Description | 
|---|
SecurityServicePermission(java.lang.String name)
Creates a new SecurityServicePermission object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(java.lang.Object obj)
Checks two SecurityServicePermission objects for equality. 
 | 
java.lang.String | 
getActions()
Returns the canonical string representation of the actions,
 which is the empty string "", since there are no actions for
 a SecurityServicePermission. 
 | 
int | 
hashCode()  | 
boolean | 
implies(java.security.Permission p)
Checks if the specified permission is "implied" by
 this object. 
 | 
java.security.PermissionCollection | 
newPermissionCollection()
Returns a new PermissionCollection object for storing 
 SecurityServicePermission objects. 
 | 
public SecurityServicePermission(java.lang.String name)
name - the name of the SecurityServicePermissionpublic boolean implies(java.security.Permission p)
More specifically, this method returns true if:
implies in class java.security.Permissionp - the permission to check against.public boolean equals(java.lang.Object obj)
equals in class java.security.Permissionobj - the object we are testing for equality with this object.public int hashCode()
hashCode in class java.security.Permissionpublic java.lang.String getActions()
getActions in class java.security.Permissionpublic java.security.PermissionCollection newPermissionCollection()
A SecurityServicePermissionCollection stores a collection of SecurityServicePermission permissions.
SecurityServicePermission objects must be stored in a manner that
 allows them to be inserted in any order, but that also enables the
 PermissionCollection implies method
 to be implemented in an efficient (and consistent) manner.
newPermissionCollection in class java.security.PermissionCopyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.