Name

ServicePermission

Synopsis

This java.security.Permission class protects access to the Kerberos tickets used to access a specified service. The target name of of a ServicePermission is the Kerberos principal name of the service. The action for the ServicePermission is either “initiate” for clients or “accept” for servers.

javax.security.auth.kerberos.ServicePermission

Figure 19-18. javax.security.auth.kerberos.ServicePermission

public final class ServicePermission extends java.security.Permission implements Serializable {
// Public Constructors
     public ServicePermission(String servicePrincipal, String action);  
// Public Methods Overriding Permission
     public boolean equals(Object obj);  
     public String getActions( );  
     public int hashCode( );  
     public boolean implies(java.security.Permission p);  
     public java.security.PermissionCollection newPermissionCollection( );  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.