| Constructor and Description |
|---|
AuthPrincipal(String username)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
addRole(String role)
Adds a role.
|
void |
addRoles(Set<String> roles)
Adds multiple roles.
|
String |
getName() |
Set<String> |
getRoles() |
Copyright © 2015 JBoss, a division of Red Hat. All rights reserved.