Name
Interface com.sun.security.auth.PrincipalComparator
Synopsis
Classes that implement the Principal
interface for use with a login module may also implement this interface to support group or role operations. Sun’s implementation of the javax.security.auth.Policy
class tests to see if principals implement this interface; if they do, it checks to see if one particular principal implies another. A Solaris subject that contains a principal with a UID of 0, for example, implies a Solaris principal with any other UID.
Interface Definition
public interface com.sun.security.auth.PrincipalComparator { // Instance Methods public boolean implies(Subject); }
See also
javax.security.auth.Policy. javax.security.auth.Subject
|
Get Java Security, 2nd 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.