public interface ShiroAuth extends AuthProvider
AuthProvider instances.| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_ROLE_PREFIX
The default role prefix
|
| Modifier and Type | Method and Description |
|---|---|
static ShiroAuth |
create(Vertx vertx,
org.apache.shiro.realm.Realm realm)
Create a Shiro auth provider
|
static ShiroAuth |
create(Vertx vertx,
ShiroAuthOptions options)
Create a Shiro auth provider
|
ShiroAuth |
setRolePrefix(String rolePrefix)
Set the role prefix to distinguish from permissions when checking for isPermitted requests.
|
authenticate, authenticatestatic final String DEFAULT_ROLE_PREFIX
static ShiroAuth create(Vertx vertx, org.apache.shiro.realm.Realm realm)
vertx - the Vert.x instancerealm - the Shiro realmstatic ShiroAuth create(Vertx vertx, ShiroAuthOptions options)
vertx - the Vert.x instanceoptions - the Shiro configuration optionsCopyright © 2019 Eclipse. All rights reserved.