public class SimpleGroupPrincipal extends SimpleUserPrincipal implements GroupPrincipal
GroupPrincipal
implementation that simply stores a name.Constructor and Description |
---|
SimpleGroupPrincipal(String name)
Creates a new group principal.
|
public SimpleGroupPrincipal(String name)
name
- The name of the group principal.NullPointerException
- If the given name is null
.Copyright © 2016–2023. All rights reserved.