Interface DelegatedClientIdentityProviderAuthorizer

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      default java.lang.String getClientNameFromAuthentication​(org.apereo.cas.authentication.Authentication authentication)
      Gets client name from authentication.
      boolean isDelegatedClientAuthorizedFor​(java.lang.String clientName, org.apereo.cas.authentication.principal.Service service, javax.servlet.http.HttpServletRequest request)
      Is delegated client authorized for.
      boolean isDelegatedClientAuthorizedFor​(java.lang.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, javax.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 Detail

      • isDelegatedClientAuthorizedForService

        default boolean isDelegatedClientAuthorizedForService​(org.pac4j.core.client.Client client,
                                                              org.apereo.cas.authentication.principal.Service service,
                                                              javax.servlet.http.HttpServletRequest context)
        Is delegated client authorized for service?
        Parameters:
        client - the client
        service - the service
        context - the context
        Returns:
        the boolean
      • 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:
        the boolean
      • 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:
        the boolean
      • getClientNameFromAuthentication

        default java.lang.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​(java.lang.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:
        the boolean
      • isDelegatedClientAuthorizedFor

        boolean isDelegatedClientAuthorizedFor​(java.lang.String clientName,
                                               org.apereo.cas.authentication.principal.Service service,
                                               javax.servlet.http.HttpServletRequest request)
        Is delegated client authorized for.
        Parameters:
        clientName - the client name
        service - the service
        request - the request
        Returns:
        the boolean