| Package | Description |
|---|---|
| net.krotscheck.kangaroo.authz.admin |
The server administration API.
|
| 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.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
Scope.forEntity(AbstractAuthzEntity entity,
Boolean admin)
Determine the required scope for the given entity.
|
| Modifier and Type | Method and Description |
|---|---|
protected <K extends AbstractAuthzEntity> |
AbstractService.requireEntityInput(Class<K> requestedType,
K entity)
Provided a type and an entity, requires the existence of this entity.
|
protected <K extends AbstractAuthzEntity> |
AbstractService.resolveEntityInput(Class<K> requestedType,
BigInteger entityId)
Provided a type and an id, attempts to resolve a fresh entity from
the database session.
|
protected <K extends AbstractAuthzEntity> |
AbstractService.resolveEntityInput(Class<K> requestedType,
K entity)
Provided a type and an entity, attempts to resolve a fresh entity from
the database session.
|
protected <T extends AbstractAuthzEntity> |
AbstractService.resolveFilterEntity(Class<T> roleClass,
BigInteger entityId)
Attempt to resolve the provided ID into the requested entity type.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractService.assertCanAccess(AbstractAuthzEntity entity,
String requiredScope)
This method tests whether a particular entity may be accessed.
|
protected void |
AbstractService.assertCanAccessSubresource(AbstractAuthzEntity entity,
String requiredParentScope)
This method tests whether a particular subresource entity may be
accessed.
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractClientUri
This represents a redirect URL attached to a specific client.
|
class |
Application
The application entity, representing an app which uses our system for
authentication.
|
class |
ApplicationScope
The application scope, as defined by the user.
|
class |
Authenticator
An authentication provider, linked to an application, containing
miscellaneous configuration information for this provider.
|
class |
AuthenticatorState
This entity describes state data stored while an authorization request has
been passed to the authentication authenticator.
|
class |
Client
This represents a registered client, as well as it's connection metadata,
for
a specific application.
|
class |
ClientRedirect
This represents a redirect URL attached to a specific client.
|
class |
ClientReferrer
This represents a referrer URL attached to a specific client.
|
class |
OAuthToken
This entity represents an OAuth Token, provided to a user, for a specific
application, on a particular client's domain.
|
class |
Role
The application entity, representing an app which uses our system for
authentication.
|
class |
User
The user entity, as persisted to the database.
|
class |
UserIdentity
A user's identity, as provided by authenticators.
|
Copyright © 2018 krotscheck.net. All rights reserved.