Class BasicAuthCallbackClientFinder

  • All Implemented Interfaces:
    org.pac4j.core.client.finder.ClientFinder

    public class BasicAuthCallbackClientFinder
    extends AxelorCallbackClientFinder
    Checks for basic auth request header and finds basic auth client when appropriate. This avoids having to specify request parameter "client_name" when using IndirectBasicAuth.
    • Constructor Detail

      • BasicAuthCallbackClientFinder

        public BasicAuthCallbackClientFinder​(String clientName)
    • Method Detail

      • find

        public List<org.pac4j.core.client.Client> find​(org.pac4j.core.client.Clients clients,
                                                       org.pac4j.core.context.WebContext context,
                                                       String clientNames)
        Specified by:
        find in interface org.pac4j.core.client.finder.ClientFinder
        Overrides:
        find in class AxelorCallbackClientFinder