public class Roles extends GenericUserIdentifierCollection
UserIdentifiers.roles(String...)
to initialize.
Contains a collection of roles names.Modifier and Type | Method and Description |
---|---|
static Roles |
create(java.lang.String... roles)
Initializes the Roles with the given role names
|
getUserIdentifiers
public static Roles create(java.lang.String... roles)
roles
- Roles to create