Package com.axelor.auth.pac4j.local
Class BasicAuthCallbackClientFinder
- java.lang.Object
-
- org.pac4j.core.client.finder.DefaultCallbackClientFinder
-
- com.axelor.auth.pac4j.AxelorCallbackClientFinder
-
- com.axelor.auth.pac4j.local.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.
-
-
Field Summary
-
Fields inherited from class com.axelor.auth.pac4j.AxelorCallbackClientFinder
logger
-
-
Constructor Summary
Constructors Constructor Description BasicAuthCallbackClientFinder(String clientName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<org.pac4j.core.client.Client>
find(org.pac4j.core.client.Clients clients, org.pac4j.core.context.WebContext context, String clientNames)
-
-
-
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 interfaceorg.pac4j.core.client.finder.ClientFinder
- Overrides:
find
in classAxelorCallbackClientFinder
-
-