| Package | Description |
|---|---|
| net.krotscheck.kangaroo.authz.admin.v1.resource |
The resources and services of the Admin API.
|
| net.krotscheck.kangaroo.authz.common.authenticator |
Authentication handlers.
|
| net.krotscheck.kangaroo.authz.common.authenticator.oauth2 |
Shared code for OAuth2 based authenticators.
|
| net.krotscheck.kangaroo.authz.common.authenticator.password |
The password authentication provider.
|
| net.krotscheck.kangaroo.authz.common.authenticator.test |
The test authentication provider.
|
| 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 |
AuthenticatorService.createResource(Authenticator authenticator)
Create a new authenticator.
|
javax.ws.rs.core.Response |
AuthenticatorService.updateResource(BigInteger id,
Authenticator authenticator)
Update an authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
IAuthenticator.authenticate(Authenticator authenticator,
javax.ws.rs.core.MultivaluedMap<String,String> parameters,
URI callback)
Authenticate and/or create a user identity for a specific client, given
the URI from an authentication delegate.
|
javax.ws.rs.core.Response |
IAuthenticator.delegate(Authenticator configuration,
URI callback)
Delegate an authentication request to a third party authentication
provider, such as Google, Facebook, etc.
|
default void |
IAuthenticator.validate(Authenticator authenticator)
Validate that a particular authentication configuration is valid for
this IdP.
|
| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
AbstractOAuth2Authenticator.authenticate(Authenticator authenticator,
javax.ws.rs.core.MultivaluedMap<String,String> parameters,
URI callback)
Handle the response from the IdP.
|
javax.ws.rs.core.Response |
AbstractOAuth2Authenticator.delegate(Authenticator authenticator,
URI callback)
Delegate an authentication request to the oauth2 IdP.
|
protected String |
AbstractOAuth2Authenticator.getClientId(Authenticator authenticator)
Provided with an authenticator, provide the client id.
|
protected String |
AbstractOAuth2Authenticator.getClientSecret(Authenticator authenticator)
Provided with an authenticator, extract the client secret.
|
void |
AbstractOAuth2Authenticator.validate(Authenticator authenticator)
Validate that the configuration values provided are correct.
|
| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
PasswordAuthenticator.authenticate(Authenticator authenticator,
javax.ws.rs.core.MultivaluedMap<String,String> parameters,
URI callback)
Resolve and/or create a user identity for a specific client, given the
returned URI.
|
javax.ws.rs.core.Response |
PasswordAuthenticator.delegate(Authenticator configuration,
URI callback)
Do nothing, this authenticator does not delegate.
|
| Modifier and Type | Method and Description |
|---|---|
UserIdentity |
TestAuthenticator.authenticate(Authenticator authenticator,
javax.ws.rs.core.MultivaluedMap<String,String> parameters,
URI callback)
Resolve and/or create a user identity, given an intermediate state and
request parameters.
|
javax.ws.rs.core.Response |
TestAuthenticator.delegate(Authenticator configuration,
URI callback)
Execute an authentication process for a specific request.
|
void |
TestAuthenticator.validate(Authenticator authenticator)
Validate the test authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
Authenticator |
AuthenticatorState.getAuthenticator()
Get the authenticator for this state.
|
| Modifier and Type | Method and Description |
|---|---|
List<Authenticator> |
Client.getAuthenticators()
The list of authenticators active in this client.
|
| Modifier and Type | Method and Description |
|---|---|
void |
AuthenticatorState.setAuthenticator(Authenticator authenticator)
Set a new authenticator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Client.setAuthenticators(List<Authenticator> authenticators)
Set the authenticators.
|
| Modifier and Type | Method and Description |
|---|---|
static Authenticator |
ValidationUtil.validateAuthenticator(AuthenticatorType type,
List<Authenticator> authenticators)
Ensure that an authenticator, requested by name, is valid within a
specific list of authenticators.
|
| Modifier and Type | Method and Description |
|---|---|
static Authenticator |
ValidationUtil.validateAuthenticator(AuthenticatorType type,
List<Authenticator> authenticators)
Ensure that an authenticator, requested by name, is valid within a
specific list of authenticators.
|
| 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.