Interface GroupPrincipal

All Superinterfaces:
Principal, UserPrincipal

public interface GroupPrincipal
extends UserPrincipal

A UserPrincipal representing a group identity, used to determine access rights to objects in a file system. The exact definition of a group is implementation specific, but typically, it represents an identity created for administrative purposes so as to determine the access rights for the members of the group. Whether an entity can be a member of multiple groups, and whether groups can be nested, are implementation specified and therefore not specified.

Since:
1.7
See Also:
UserPrincipalLookupService.lookupPrincipalByGroupName(java.lang.String)

Methods

Methods inherited from interface java.security.Principal

equals, getName, hashCode, implies, toString

© 1993, 2020, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
https://docs.oracle.com/javase/8/docs/api/java/nio/file/attribute/GroupPrincipal.html