@Beta
public interface RoleAdminApi
Modifier and Type | Method and Description |
---|---|
Role |
create(String name)
Creates a new Role
|
boolean |
delete(String roleId)
Deletes a role
|
Role |
get(String roleId)
Gets the role
|
com.google.common.collect.FluentIterable<? extends Role> |
list()
Returns a summary list of roles.
|
@Named(value="role:list") com.google.common.collect.FluentIterable<? extends Role> list()
@Named(value="role:create") @Nullable Role create(String name)
@Named(value="role:delete") boolean delete(String roleId)
Copyright © 2009–2017 The Apache Software Foundation. All rights reserved.