Package | Description |
---|---|
org.pac4j.core.client | |
org.pac4j.core.exception |
Modifier and Type | Method and Description |
---|---|
C |
IndirectClient.getCredentials(WebContext context)
Get the credentials from the web context.
|
C |
Client.getCredentials(WebContext context)
Get the credentials from the web context.
|
RedirectAction |
IndirectClient.getRedirectAction(WebContext context,
boolean protectedTarget)
Get the redirectAction computed for this client.
|
void |
IndirectClient.redirect(WebContext context,
boolean protectedTarget)
Redirect to the authentication provider by updating the WebContext accordingly.
|
void |
Client.redirect(WebContext context,
boolean protectedTarget)
Redirect to the authentication provider for an indirect client.
|
protected abstract C |
IndirectClient.retrieveCredentials(WebContext context) |
Modifier and Type | Method and Description |
---|---|
static RequiresHttpAction |
RequiresHttpAction.forbidden(String message,
WebContext context)
Build a forbidden response.
|
static RequiresHttpAction |
RequiresHttpAction.ok(String message,
WebContext context)
Build an HTTP Ok.
|
static RequiresHttpAction |
RequiresHttpAction.ok(String message,
WebContext context,
String content)
Build an HTTP Ok.
|
static RequiresHttpAction |
RequiresHttpAction.redirect(String message,
WebContext context,
String url)
Build a redirection.
|
static RequiresHttpAction |
RequiresHttpAction.unauthorized(String message,
WebContext context,
String realmName)
Build a basic auth popup credentials.
|
Copyright © 2015. All Rights Reserved.