public class RoleExtractor extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
groupHeader |
static String |
roleHeader |
| Constructor and Description |
|---|
RoleExtractor() |
RoleExtractor(String rolePattern) |
| Modifier and Type | Method and Description |
|---|---|
Set<String> |
extractRoles(io.vertx.core.http.HttpServerRequest request)
Extract the roles from the request.
|
Set<String> |
extractRoles(io.vertx.core.MultiMap headers)
Extract the roles from the given http header
|
public static final String groupHeader
public static final String roleHeader
public RoleExtractor(String rolePattern)
public RoleExtractor()
Copyright © 2016–2021. All rights reserved.