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,
ShiroAuthRealmType realmType,
JsonObject config)
Create a Shiro auth provider
|
ShiroAuth |
setRolePrefix(String rolePrefix)
Set the role prefix to distinguish from permissions when checking for isPermitted requests.
|
authenticatestatic final String DEFAULT_ROLE_PREFIX
static ShiroAuth create(Vertx vertx, ShiroAuthRealmType realmType, JsonObject config)
vertx - the Vert.x instancerealmType - the Shiro realm typeconfig - the configstatic ShiroAuth create(Vertx vertx, org.apache.shiro.realm.Realm realm)
vertx - the Vert.x instancerealm - the Shiro realmCopyright © 2015. All rights reserved.