Package org.apereo.cas.pac4j.client
Interface DelegatedClientAuthenticationRequestCustomizer
- All Superinterfaces:
org.springframework.core.Ordered
public interface DelegatedClientAuthenticationRequestCustomizer
extends org.springframework.core.Ordered
- Since:
- 6.4.0
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Method Summary
Modifier and TypeMethodDescriptionvoidcustomize(org.pac4j.core.client.IndirectClient client, org.pac4j.core.context.WebContext webContext) Customize.default intgetOrder()booleanisAuthorized(org.pac4j.core.context.WebContext webContext, org.pac4j.core.client.IndirectClient client, org.apereo.cas.authentication.principal.WebApplicationService currentService) Is client authorized for use in this context.booleansupports(org.pac4j.core.client.IndirectClient client, org.pac4j.core.context.WebContext webContext) Supports.
-
Method Details
-
customize
void customize(org.pac4j.core.client.IndirectClient client, org.pac4j.core.context.WebContext webContext) throws Throwable Customize.- Parameters:
client- the clientwebContext- the web context- Throws:
Throwable- the throwable
-
supports
boolean supports(org.pac4j.core.client.IndirectClient client, org.pac4j.core.context.WebContext webContext) throws Throwable Supports.- Parameters:
client- the clientwebContext- the web context- Returns:
- true /false
- Throws:
Throwable- the throwable
-
getOrder
default int getOrder()- Specified by:
getOrderin interfaceorg.springframework.core.Ordered
-
isAuthorized
boolean isAuthorized(org.pac4j.core.context.WebContext webContext, org.pac4j.core.client.IndirectClient client, org.apereo.cas.authentication.principal.WebApplicationService currentService) throws Throwable Is client authorized for use in this context.- Parameters:
webContext- the web contextclient- the clientcurrentService- the current service- Returns:
- true /false
- Throws:
Throwable- the throwable
-