public class OAuth20DefaultCasClientRedirectActionBuilder extends java.lang.Object implements OAuth20CasClientRedirectActionBuilder
| Constructor and Description |
|---|
OAuth20DefaultCasClientRedirectActionBuilder() |
| Modifier and Type | Method and Description |
|---|---|
org.pac4j.core.redirect.RedirectAction |
build(org.pac4j.cas.client.CasClient casClient,
org.pac4j.core.context.WebContext context)
Build redirect action for the client dynamically
and configure the CAS client accordingly based
on the properties of the web context.
|
protected org.pac4j.core.redirect.RedirectAction |
build(org.pac4j.cas.client.CasClient casClient,
org.pac4j.core.context.WebContext context,
boolean renew,
boolean gateway)
Build with predefined renew and gateway parameters.
|
public OAuth20DefaultCasClientRedirectActionBuilder()
public org.pac4j.core.redirect.RedirectAction build(org.pac4j.cas.client.CasClient casClient,
org.pac4j.core.context.WebContext context)
OAuth20CasClientRedirectActionBuilderbuild in interface OAuth20CasClientRedirectActionBuildercasClient - the cas client configcontext - the contextprotected org.pac4j.core.redirect.RedirectAction build(org.pac4j.cas.client.CasClient casClient,
org.pac4j.core.context.WebContext context,
boolean renew,
boolean gateway)
casClient - the cas client configcontext - the contextrenew - ask for credentials againgateway - skip asking for credentials