|
aerogear-security 1.3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public static interface IdentityManagement.GrantMethods<T>
GrantMethods is a builder to apply roles to User
| Method Summary | |
|---|---|
IdentityManagement.GrantMethods<T> |
revoke(String[] roles)
This method allows to revoke which roles must be revoked to User |
IdentityManagement.GrantMethods<T> |
roles(String[] roles)
This method specifies which roles will be applied to User |
void |
to(String username)
This method applies roles specified on IdentityManagement.grant(String...) |
void |
to(T user)
This method revokes roles specified on IdentityManagement.revoke(String...) |
| Method Detail |
|---|
void to(String username)
IdentityManagement.grant(String...)
username - represents a simple user's implementation to hold credentials.void to(T user)
IdentityManagement.revoke(String...)
user - represents a simple user's implementation to hold credentials.IdentityManagement.GrantMethods<T> roles(String[] roles)
roles - Array of roles
IdentityManagement.GrantMethods<T> revoke(String[] roles)
roles - List of roles to be revoked
|
aerogear-security 1.3.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||