public class ShiroAuth extends AuthProvider
AuthProvider
instances.
NOTE: This class has been automatically generated from the original
non RX-ified interface using Vert.x codegen.Modifier and Type | Method and Description |
---|---|
static ShiroAuth |
create(Vertx vertx,
ShiroAuthOptions options)
Create a Shiro auth provider
|
static ShiroAuth |
create(Vertx vertx,
ShiroAuthRealmType realmType,
JsonObject config)
Create a Shiro auth provider
|
Object |
getDelegate() |
static ShiroAuth |
newInstance(ShiroAuth arg) |
ShiroAuth |
setRolePrefix(String rolePrefix)
Set the role prefix to distinguish from permissions when checking for isPermitted requests.
|
authenticate, authenticateObservable, newInstance
public ShiroAuth(ShiroAuth delegate)
public Object getDelegate()
getDelegate
in class AuthProvider
public static ShiroAuth create(Vertx vertx, ShiroAuthRealmType realmType, JsonObject config)
vertx
- the Vert.x instancerealmType
- the Shiro realm typeconfig
- the configpublic static ShiroAuth create(Vertx vertx, ShiroAuthOptions options)
vertx
- the Vert.x instanceoptions
- the Shiro configuration optionspublic ShiroAuth setRolePrefix(String rolePrefix)
rolePrefix
- a Prefix e.g.: "role:"Copyright © 2016. All rights reserved.