java.lang.Objectjava.security.Permission
java.security.BasicPermission
javax.security.auth.kerberos.DelegationPermission
All Implemented Interfaces:
Serializable, Guard
The target name of this Permission specifies a pair of
kerberos service principals. The first is the subordinate service principal
being entrusted to use the TGT. The second service principal designates
the target service the subordinate service principal is to
interact with on behalf of the initiating KerberosPrincipal. This
latter service principal is specified to restrict the use of a
proxiable ticket.
For example, to specify the "host" service use of a forwardable TGT the target permission is specified as follows:
DelegationPermission("\"host/foo.example.com@EXAMPLE.COM\" \"krbtgt/EXAMPLE.COM@EXAMPLE.COM\"");
To give the "backup" service a proxiable nfs service ticket the target permission might be specified:
DelegationPermission("\"backup/bar.example.com@EXAMPLE.COM\" \"nfs/home.EXAMPLE.COM@EXAMPLE.COM\"");
1.4 - | Constructor: |
|---|
DelegationPermission
with the specified subordinate and target principals.
|
DelegationPermission
with the specified subordinate and target principals.
|
| Method from javax.security.auth.kerberos.DelegationPermission Summary: |
|---|
| equals, hashCode, implies, newPermissionCollection |
| Methods from java.security.BasicPermission: |
|---|
| equals, getActions, getCanonicalName, hashCode, implies, newPermissionCollection |
| Methods from java.security.Permission: |
|---|
| checkGuard, equals, getActions, getName, hashCode, implies, newPermissionCollection, toString |
| Methods from java.lang.Object: |
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method from javax.security.auth.kerberos.DelegationPermission Detail: |
|---|
|
|
If none of the above are true, |
DelegationPermission objects must be stored in a manner that allows them to be inserted into the collection in any order, but that also enables the PermissionCollection implies method to be implemented in an efficient (and consistent) manner. |