javax.security.auth.kerberos

Class DelegationPermission

public final class DelegationPermission extends BasicPermission

Since: 1.4

Constructor Summary
DelegationPermission(String name)
Create a new instance with the given name.
DelegationPermission(String name, String actions)
Create a new instance with the given name and actions.
Method Summary
booleanimplies(Permission perm)
PermissionCollectionnewPermissionCollection()

Constructor Detail

DelegationPermission

public DelegationPermission(String name)
Create a new instance with the given name.

DelegationPermission

public DelegationPermission(String name, String actions)
Create a new instance with the given name and actions. The name consists of two parts: first the subordinate service principal, then the target service principal. Each principal is surrounded by quotes; the two are separated by a space.

Parameters: name the name actions the actions; this is ignored

Method Detail

implies

public boolean implies(Permission perm)

newPermissionCollection

public PermissionCollection newPermissionCollection()