public class RoleAuthorizer extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
log |
| Modifier and Type | Method and Description |
|---|---|
void |
checkConfigResource(io.vertx.core.buffer.Buffer buffer)
Check if the given resource in the buffer is valid
|
void |
configUpdate()
Reload the Configuration resources, they might have changed in the system
|
void |
handleIsAuthorized(io.vertx.core.http.HttpServerRequest request,
io.vertx.core.Future<Boolean> future) |
public void handleIsAuthorized(io.vertx.core.http.HttpServerRequest request,
io.vertx.core.Future<Boolean> future)
public void checkConfigResource(io.vertx.core.buffer.Buffer buffer)
throws ValidationException
buffer - The resource to be checkedValidationException - Thrown if the validation failspublic void configUpdate()
Copyright © 2016–2021. All rights reserved.