| 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.
|
| net.krotscheck.kangaroo.authz.oauth2.resource.authorize |
Handlers for the authorization endpoint.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
ScopeService.createResource(ApplicationScope scope)
Create an scope.
|
javax.ws.rs.core.Response |
ScopeService.updateResource(BigInteger id,
ApplicationScope scope)
Update an scope.
|
| Modifier and Type | Method and Description |
|---|---|
SortedMap<String,ApplicationScope> |
AuthenticatorState.getClientScopes()
The list of requested application scopes.
|
SortedMap<String,ApplicationScope> |
Role.getScopes()
Get this role's scopes.
|
SortedMap<String,ApplicationScope> |
OAuthToken.getScopes()
Get this token's scopes.
|
SortedMap<String,ApplicationScope> |
Application.getScopes()
Get this application's scopes.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticatorState.setClientScopes(SortedMap<String,ApplicationScope> clientScopes)
Set the list of client scopes.
|
void |
Role.setScopes(SortedMap<String,ApplicationScope> scopes)
Set this role's scopes.
|
void |
OAuthToken.setScopes(SortedMap<String,ApplicationScope> scopes)
Set this token's scopes.
|
void |
Application.setScopes(SortedMap<String,ApplicationScope> scopes)
Set this application's scopes.
|
| Modifier and Type | Method and Description |
|---|---|
static SortedMap<String,ApplicationScope> |
ValidationUtil.revalidateScope(String[] requestedScopes,
SortedMap<String,ApplicationScope> originalScopes,
SortedMap<String,ApplicationScope> validScopes)
Revalidates a list of provided scopes against the originally granted
scopes, as well as the current list of valid scopes.
|
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.revalidateScope(String requestedScopes,
SortedMap<String,ApplicationScope> originalScopes,
SortedMap<String,ApplicationScope> validScopes)
Revalidates a list of provided scopes against the originally granted
scopes, as well as the current list of valid scopes.
|
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,
SortedMap<String,ApplicationScope> validScopes)
Creates a collection of scopes from a list of valid scopes.
|
static SortedMap<String,ApplicationScope> |
ValidationUtil.validateScope(String requestedScopes,
Role role)
Validate a list of scopes against a role.
|
static SortedMap<String,ApplicationScope> |
ValidationUtil.validateScope(String requestedScopes,
SortedMap<String,ApplicationScope> validScopes)
Creates a collection of scopes from a list of valid scopes.
|
| Modifier and Type | Method and Description |
|---|---|
static SortedMap<String,ApplicationScope> |
ValidationUtil.revalidateScope(String[] requestedScopes,
SortedMap<String,ApplicationScope> originalScopes,
SortedMap<String,ApplicationScope> validScopes)
Revalidates a list of provided scopes against the originally granted
scopes, as well as the current list of valid scopes.
|
static SortedMap<String,ApplicationScope> |
ValidationUtil.revalidateScope(String[] requestedScopes,
SortedMap<String,ApplicationScope> originalScopes,
SortedMap<String,ApplicationScope> validScopes)
Revalidates a list of provided scopes against the originally granted
scopes, as well as the current list of valid scopes.
|
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.revalidateScope(String requestedScopes,
SortedMap<String,ApplicationScope> originalScopes,
SortedMap<String,ApplicationScope> validScopes)
Revalidates a list of provided scopes against the originally granted
scopes, as well as the current list of valid scopes.
|
static SortedMap<String,ApplicationScope> |
ValidationUtil.revalidateScope(String requestedScopes,
SortedMap<String,ApplicationScope> originalScopes,
SortedMap<String,ApplicationScope> validScopes)
Revalidates a list of provided scopes against the originally granted
scopes, as well as the current list of valid scopes.
|
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,
SortedMap<String,ApplicationScope> validScopes)
Creates a collection of scopes from a list of valid scopes.
|
static SortedMap<String,ApplicationScope> |
ValidationUtil.validateScope(String requestedScopes,
SortedMap<String,ApplicationScope> validScopes)
Creates a collection of scopes from a list of valid scopes.
|
| Modifier and Type | Method and Description |
|---|---|
javax.ws.rs.core.Response |
ImplicitHandler.handle(javax.servlet.http.HttpSession browserSession,
Authenticator auth,
URI redirect,
SortedMap<String,ApplicationScope> scopes,
String state)
Handle an initial authorization request using the implicit flow.
|
javax.ws.rs.core.Response |
IAuthorizeHandler.handle(javax.servlet.http.HttpSession browserSession,
Authenticator auth,
URI redirect,
SortedMap<String,ApplicationScope> scopes,
String state)
Handle a specific authorization grant request.
|
javax.ws.rs.core.Response |
AuthCodeHandler.handle(javax.servlet.http.HttpSession browserSession,
Authenticator auth,
URI redirect,
SortedMap<String,ApplicationScope> scopes,
String state)
Handle an authorization request using the Auth Code flow.
|
Copyright © 2018 krotscheck.net. All rights reserved.