Java in a Nutshell, 5th Edition [Electronic resources]

نسخه متنی -صفحه : 1191/ 1006
نمايش فراداده

DelegationPermissionjavax.security.auth.kerberos

Java 1.4serializable permission

This java.security.Permission class governs the delegation of Kerberos tickets from a Kerberos principal to a Kerberos service for use on behalf of the original principal. The target name of a DelegationPermission consists of the principal names of two Kerberos services. The first specifies the service that is being delegated to, and the second specifies the service that is to be used by the first on behalf of the original Kerberos principal.

Figure 19-14. javax.security.auth.kerberos.DelegationPermission

public final class

DelegationPermission extends java.security.BasicPermission implements Serializable { // Public Constructors public

DelegationPermission (String

principals ); public

DelegationPermission (String

principals , String

actions ); // Public Methods Overriding BasicPermission public boolean

equals (Object

obj ); public int

hashCode ( ); public boolean

implies (java.security.Permission

p ); public java.security.PermissionCollection

newPermissionCollection ( ); }