public class Authorizer extends Object implements org.swisspush.gateleen.core.logging.LoggableResource
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Constructor and Description |
|---|
Authorizer(io.vertx.core.Vertx vertx,
org.swisspush.gateleen.core.storage.ResourceStorage storage,
String securityRoot,
String rolePattern) |
| Modifier and Type | Method and Description |
|---|---|
io.vertx.core.Future<Boolean> |
authorize(io.vertx.core.http.HttpServerRequest request) |
void |
authorize(io.vertx.core.http.HttpServerRequest request,
io.vertx.core.Handler<Void> handler) |
void |
enableResourceLogging(boolean resourceLoggingEnabled) |
public void enableResourceLogging(boolean resourceLoggingEnabled)
enableResourceLogging in interface org.swisspush.gateleen.core.logging.LoggableResourcepublic io.vertx.core.Future<Boolean> authorize(io.vertx.core.http.HttpServerRequest request)
public void authorize(io.vertx.core.http.HttpServerRequest request,
io.vertx.core.Handler<Void> handler)
Copyright © 2016–2019. All rights reserved.