Please note that this documentation is not final and is subject to change.

Java™ Platform
Standard Ed. 7

DRAFT ea-b89

java.nio.file.attribute
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)

Method Summary
Modifier and Type Method and Description
 
Methods inherited from interface java.security.Principal
equals, getName, hashCode, toString
 


Java™ Platform
Standard Ed. 7

DRAFT ea-b89

Submit a bug or feature

Copyright 2010 Sun Microsystems, Inc. All Rights Reserved. Use is subject to license terms.