| Package | Description |
|---|---|
| net.krotscheck.kangaroo.authz.admin.v1.resource |
The resources and services of the Admin API.
|
| net.krotscheck.kangaroo.authz.common.database.entity |
Entities in our data model.
|
| net.krotscheck.kangaroo.authz.common.util |
Authz utility classes.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
RoleService.createResource(Role role)
Create an role.
|
javax.ws.rs.core.Response |
RoleService.updateResource(BigInteger id,
Role role)
Update an role.
|
| Modifier and Type | Method and Description |
|---|---|
Role |
Application.getDefaultRole()
Get the default role for this application.
|
Role |
User.getRole()
Get the role for this user.
|
| Modifier and Type | Method and Description |
|---|---|
List<Role> |
ApplicationScope.getRoles()
Get all roles associated with this scope.
|
List<Role> |
Application.getRoles()
Get this application's roles.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Application.setDefaultRole(Role defaultRole)
Set the default role for this application.
|
void |
User.setRole(Role role)
Set the role for this user.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ApplicationScope.setRoles(List<Role> roles)
Set all roles associated with this scope.
|
void |
Application.setRoles(List<Role> roles)
Set this application's roles.
|
| Modifier and Type | Method and Description |
|---|---|
static SortedMap<String,ApplicationScope> |
ValidationUtil.revalidateScope(String requestedScopes,
SortedMap<String,ApplicationScope> originalScopes,
Role role)
Revalidate a list of scopes against an originally granted list, as
well as the current list of valid scopes from a user's role.
|
static SortedMap<String,ApplicationScope> |
ValidationUtil.validateScope(SortedMap<String,ApplicationScope> requestedScopes,
Role role)
Ensure that a requested list of scopes is permitted for a specific role.
|
static SortedMap<String,ApplicationScope> |
ValidationUtil.validateScope(String requestedScopes,
Role role)
Validate a list of scopes against a role.
|
Copyright © 2018 krotscheck.net. All rights reserved.