java.lang.Object | ||
↳ | java.security.Permission | |
↳ | java.security.UnresolvedPermission |
An UnresolvedPermission
represents a Permission
whose type
should be resolved lazy and not during initialization time of the Policy
. UnresolvedPermission
s contain all information to be replaced
by a concrete typed Permission
right before the access checks are
performed.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a new instance of
UnresolvedPermission . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compares the specified object with this
UnresolvedPermission for
equality and returns true if the specified object is equal,
false otherwise. | |||||||||||
Returns an empty string since there are no actions allowed for
UnresolvedPermission . | |||||||||||
Returns the actions of the permission this
UnresolvedPermission
is resolved to. | |||||||||||
Returns the certificates of the permission this
UnresolvedPermission is resolved to. | |||||||||||
Returns the name of the permission this
UnresolvedPermission is
resolved to. | |||||||||||
Returns the fully qualified class name of the permission this
UnresolvedPermission is resolved to. | |||||||||||
Returns the hash code value for this
UnresolvedPermission . | |||||||||||
Indicates whether the specified permission is implied by this
UnresolvedPermission . | |||||||||||
Returns a new
PermissionCollection for holding UnresolvedPermission objects. | |||||||||||
Returns a string containing a concise, human-readable description of this
UnresolvedPermission including its target name and its target
actions. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.security.Permission
| |||||||||||
From class java.lang.Object
| |||||||||||
From interface java.security.Guard
|
Constructs a new instance of UnresolvedPermission
. The supplied
parameters are used when this instance is resolved to the concrete
Permission
.
type | the fully qualified class name of the permission this class is resolved to. |
---|---|
name | the name of the permission this class is resolved to, maybe
null . |
actions | the actions of the permission this class is resolved to, maybe
null . |
certs | the certificates of the permission this class is resolved to,
maybe null . |
NullPointerException | if type is null . |
---|
Compares the specified object with this UnresolvedPermission
for
equality and returns true
if the specified object is equal,
false
otherwise. To be equal, the specified object needs to be an
instance of UnresolvedPermission
, the two UnresolvedPermission
s must refer to the same type and must have the same
name, the same actions and certificates.
obj | object to be compared for equality with this UnresolvedPermission . |
---|
true
if the specified object is equal to this UnresolvedPermission
, otherwise false
.Returns an empty string since there are no actions allowed for UnresolvedPermission
. The actions, specified in the constructor, are
used when the concrete permission is resolved and created.
Returns the actions of the permission this UnresolvedPermission
is resolved to.
UnresolvedPermission
is resolved to.Returns the certificates of the permission this UnresolvedPermission
is resolved to.
UnresolvedPermission
is resolved to.Returns the name of the permission this UnresolvedPermission
is
resolved to.
UnresolvedPermission
is
resolved to.Returns the fully qualified class name of the permission this UnresolvedPermission
is resolved to.
UnresolvedPermission
is resolved to.Returns the hash code value for this UnresolvedPermission
.
Returns the same hash code for UnresolvedPermission
s that are
equal to each other as required by the general contract of
hashCode()
.
UnresolvedPermission
.Indicates whether the specified permission is implied by this UnresolvedPermission
. UnresolvedPermission
objects imply nothing
since nothing is known about them yet.
Before actual implication checking, this method tries to resolve UnresolvedPermissions (if any) against the passed instance. Successfully resolved permissions (if any) are taken into account during further processing.
permission | the permission to check. |
---|
false
Returns a new PermissionCollection
for holding UnresolvedPermission
objects.
UnresolvedPermission
objects.Returns a string containing a concise, human-readable description of this
UnresolvedPermission
including its target name and its target
actions.
UnresolvedPermission
.