Class DefaultCallContextResolver
java.lang.Object
org.apache.polaris.service.context.DefaultCallContextResolver
- All Implemented Interfaces:
CallContextResolver
@ApplicationScoped
@Identifier("default")
public class DefaultCallContextResolver
extends Object
implements CallContextResolver
For local/dev testing, this resolver simply expects a custom bearer-token format that is a
semicolon-separated list of colon-separated key/value pairs that constitute the realm properties.
Example: principal:data-engineer;password:test;realm:acct123
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
DefaultCallContextResolver
public DefaultCallContextResolver()
-
-
Method Details
-
resolveCallContext
public org.apache.polaris.core.context.CallContext resolveCallContext(org.apache.polaris.core.context.RealmContext realmContext, String method, String path, Map<String, String> headers) - Specified by:
resolveCallContextin interfaceCallContextResolver
-