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 | Field and Description |
---|---|
static TypeArg<ShiroAuth> |
__TYPE_ARG |
static String |
DEFAULT_ROLE_PREFIX
The default role prefix
|
Constructor and Description |
---|
ShiroAuth(io.vertx.ext.auth.shiro.ShiroAuth delegate) |
Modifier and Type | Method and Description |
---|---|
static ShiroAuth |
create(Vertx vertx,
io.vertx.ext.auth.shiro.ShiroAuthOptions options)
Create a Shiro auth provider
|
static ShiroAuth |
create(Vertx vertx,
io.vertx.ext.auth.shiro.ShiroAuthRealmType realmType,
io.vertx.core.json.JsonObject config)
Deprecated.
|
boolean |
equals(Object o) |
io.vertx.ext.auth.shiro.ShiroAuth |
getDelegate() |
int |
hashCode() |
static ShiroAuth |
newInstance(io.vertx.ext.auth.shiro.ShiroAuth arg) |
ShiroAuth |
setRolePrefix(String rolePrefix)
Set the role prefix to distinguish from permissions when checking for isPermitted requests.
|
String |
toString() |
authenticate, authenticateObservable, newInstance, rxAuthenticate
public static final String DEFAULT_ROLE_PREFIX
public String toString()
toString
in class AuthProvider
public boolean equals(Object o)
equals
in class AuthProvider
public int hashCode()
hashCode
in class AuthProvider
public io.vertx.ext.auth.shiro.ShiroAuth getDelegate()
getDelegate
in class AuthProvider
@Deprecated public static ShiroAuth create(Vertx vertx, io.vertx.ext.auth.shiro.ShiroAuthRealmType realmType, io.vertx.core.json.JsonObject config)
vertx
- the Vert.x instancerealmType
- the Shiro realm typeconfig
- the configpublic static ShiroAuth create(Vertx vertx, io.vertx.ext.auth.shiro.ShiroAuthOptions options)
vertx
- the Vert.x instanceoptions
- the Shiro configuration optionspublic ShiroAuth setRolePrefix(String rolePrefix)
rolePrefix
- a Prefix e.g.: "role:"public static ShiroAuth newInstance(io.vertx.ext.auth.shiro.ShiroAuth arg)
Copyright © 2019 Eclipse. All rights reserved.