| Package | Description |
|---|---|
| org.pac4j.core.client | |
| org.pac4j.core.engine | |
| org.pac4j.core.exception | |
| org.pac4j.core.redirect |
| Modifier and Type | Method and Description |
|---|---|
HttpAction |
IndirectClient.redirect(WebContext context) |
HttpAction |
DirectClient.redirect(WebContext context) |
HttpAction |
Client.redirect(WebContext context)
Redirect to the authentication provider for an indirect client.
|
| Modifier and Type | Method and Description |
|---|---|
protected HttpAction |
DefaultSecurityLogic.forbidden(C context,
java.util.List<Client> currentClients,
java.util.List<CommonProfile> profiles,
java.lang.String authorizers)
Return a forbidden error.
|
protected HttpAction |
DefaultSecurityLogic.redirectToIdentityProvider(C context,
java.util.List<Client> currentClients)
Perform a redirection to start the login process of the first indirect client.
|
protected HttpAction |
DefaultCallbackLogic.redirectToOriginallyRequestedUrl(C context,
java.lang.String defaultUrl) |
protected HttpAction |
DefaultSecurityLogic.unauthorized(C context,
java.util.List<Client> currentClients)
Return an unauthorized error.
|
| Modifier and Type | Method and Description |
|---|---|
static HttpAction |
HttpAction.forbidden(WebContext context)
Build a forbidden response.
|
static HttpAction |
HttpAction.noContent(WebContext context)
Build an HTTP No content.
|
static HttpAction |
HttpAction.ok(WebContext context,
java.lang.String content)
Build an HTTP Ok.
|
static HttpAction |
HttpAction.redirect(WebContext context,
java.lang.String url)
Build a redirection.
|
static HttpAction |
HttpAction.status(int status,
WebContext context)
Build a response with status.
|
static HttpAction |
HttpAction.unauthorized(WebContext context)
Build a basic auth popup credentials.
|
| Modifier and Type | Method and Description |
|---|---|
HttpAction |
RedirectAction.perform(WebContext context)
Perform a
RedirectAction on the web context. |
Copyright © 2019. All Rights Reserved.