Interface DelegatedClientIdentityProviderAuthorizer


public interface DelegatedClientIdentityProviderAuthorizer
Since:
6.6.0
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    getClientNameFromAuthentication(org.apereo.cas.authentication.Authentication authentication)
    Gets client name from authentication.
    boolean
    isDelegatedClientAuthorizedFor(String clientName, org.apereo.cas.authentication.principal.Service service, jakarta.servlet.http.HttpServletRequest request)
    Is delegated client authorized for.
    boolean
    isDelegatedClientAuthorizedFor(String clientName, org.apereo.cas.authentication.principal.Service service, org.springframework.webflow.execution.RequestContext context)
    Is delegated client authorized for.
    default boolean
    isDelegatedClientAuthorizedForAuthentication(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 boolean
    isDelegatedClientAuthorizedForService(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 boolean
    isDelegatedClientAuthorizedForService(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)
      Is delegated client authorized for service?
      Parameters:
      client - the client
      service - the service
      context - the context
      Returns:
      true/false
    • isDelegatedClientAuthorizedForService

      default boolean isDelegatedClientAuthorizedForService(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?
      Parameters:
      client - the client
      service - the service
      context - the context
      Returns:
      true/false
    • isDelegatedClientAuthorizedForAuthentication

      default boolean isDelegatedClientAuthorizedForAuthentication(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?
      Parameters:
      authentication - the authentication
      service - the service
      context - the context
      Returns:
      true/false
    • 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)
      Is delegated client authorized for.
      Parameters:
      clientName - the client name
      service - the service
      context - the context
      Returns:
      true/false
    • isDelegatedClientAuthorizedFor

      boolean isDelegatedClientAuthorizedFor(String clientName, org.apereo.cas.authentication.principal.Service service, jakarta.servlet.http.HttpServletRequest request)
      Is delegated client authorized for.
      Parameters:
      clientName - the client name
      service - the service
      request - the request
      Returns:
      true/false