@ApplicationScoped public class DefaultTenantConfigResolver extends Object
| Modifier and Type | Field and Description |
|---|---|
(package private) TenantConfigBean |
tenantConfigBean |
(package private) javax.enterprise.inject.Instance<TenantConfigResolver> |
tenantConfigResolver |
(package private) javax.enterprise.inject.Instance<TenantResolver> |
tenantResolver |
| Constructor and Description |
|---|
DefaultTenantConfigResolver() |
| Modifier and Type | Method and Description |
|---|---|
(package private) boolean |
isBlocking(io.vertx.ext.web.RoutingContext context) |
(package private) TenantConfigContext |
resolve(io.vertx.ext.web.RoutingContext context,
boolean create)
Resolve TenantConfigContext which contains the tenant configuration and
the active OIDC connection instance which may be null.
|
void |
verifyResolvers() |
@Inject javax.enterprise.inject.Instance<TenantResolver> tenantResolver
@Inject javax.enterprise.inject.Instance<TenantConfigResolver> tenantConfigResolver
@Inject TenantConfigBean tenantConfigBean
@PostConstruct public void verifyResolvers()
TenantConfigContext resolve(io.vertx.ext.web.RoutingContext context, boolean create)
context - the current request contextcreate - if true then the OIDC connection must be available or established
for the resolution to be successfulboolean isBlocking(io.vertx.ext.web.RoutingContext context)
Copyright © 2020 JBoss by Red Hat. All rights reserved.