Package org.apereo.cas.web.flow
Interface DelegatedClientIdentityProviderAuthorizer
public interface DelegatedClientIdentityProviderAuthorizer
- Since:
- 6.6.0
-
Method Summary
Modifier and TypeMethodDescriptiondefault StringgetClientNameFromAuthentication(org.apereo.cas.authentication.Authentication authentication) Gets client name from authentication.booleanisDelegatedClientAuthorizedFor(String clientName, org.apereo.cas.authentication.principal.Service service, jakarta.servlet.http.HttpServletRequest request) Is delegated client authorized for.booleanisDelegatedClientAuthorizedFor(String clientName, org.apereo.cas.authentication.principal.Service service, org.springframework.webflow.execution.RequestContext context) Is delegated client authorized for.default booleanisDelegatedClientAuthorizedForAuthentication(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service, org.springframework.webflow.execution.RequestContext context) Is delegated client authorized for authentication?default booleanisDelegatedClientAuthorizedForService(org.pac4j.core.client.Client client, org.apereo.cas.authentication.principal.Service service, jakarta.servlet.http.HttpServletRequest context) Is delegated client authorized for service?default booleanisDelegatedClientAuthorizedForService(org.pac4j.core.client.Client client, org.apereo.cas.authentication.principal.Service service, org.springframework.webflow.execution.RequestContext context) Is delegated client authorized for service?
-
Method Details
-
isDelegatedClientAuthorizedForService
default boolean isDelegatedClientAuthorizedForService(org.pac4j.core.client.Client client, org.apereo.cas.authentication.principal.Service service, jakarta.servlet.http.HttpServletRequest context) throws Throwable Is delegated client authorized for service?- Parameters:
client- the clientservice- the servicecontext- the context- Returns:
- true /false
- Throws:
Throwable- the throwable
-
isDelegatedClientAuthorizedForService
default boolean isDelegatedClientAuthorizedForService(org.pac4j.core.client.Client client, org.apereo.cas.authentication.principal.Service service, org.springframework.webflow.execution.RequestContext context) throws Throwable Is delegated client authorized for service?- Parameters:
client- the clientservice- the servicecontext- the context- Returns:
- true /false
- Throws:
Throwable- the throwable
-
isDelegatedClientAuthorizedForAuthentication
default boolean isDelegatedClientAuthorizedForAuthentication(org.apereo.cas.authentication.Authentication authentication, org.apereo.cas.authentication.principal.Service service, org.springframework.webflow.execution.RequestContext context) throws Throwable Is delegated client authorized for authentication?- Parameters:
authentication- the authenticationservice- the servicecontext- the context- Returns:
- true /false
- Throws:
Throwable- the throwable
-
getClientNameFromAuthentication
default String getClientNameFromAuthentication(org.apereo.cas.authentication.Authentication authentication) Gets client name from authentication.- Parameters:
authentication- the authentication- Returns:
- the client name from authentication
-
isDelegatedClientAuthorizedFor
boolean isDelegatedClientAuthorizedFor(String clientName, org.apereo.cas.authentication.principal.Service service, org.springframework.webflow.execution.RequestContext context) throws Throwable Is delegated client authorized for.- Parameters:
clientName- the client nameservice- the servicecontext- the context- Returns:
- true /false
- Throws:
Throwable- the throwable
-
isDelegatedClientAuthorizedFor
boolean isDelegatedClientAuthorizedFor(String clientName, org.apereo.cas.authentication.principal.Service service, jakarta.servlet.http.HttpServletRequest request) throws Throwable Is delegated client authorized for.- Parameters:
clientName- the client nameservice- the servicerequest- the request- Returns:
- true /false
- Throws:
Throwable- the throwable
-