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 io.vertx.lang.rx.TypeArg<ShiroAuth> |
__TYPE_ARG |
static String |
DEFAULT_ROLE_PREFIX
The default role prefix
|
| 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)
Deprecated.
|
boolean |
equals(Object o) |
ShiroAuth |
getDelegate() |
int |
hashCode() |
static ShiroAuth |
newInstance(ShiroAuth arg) |
ShiroAuth |
setRolePrefix(String rolePrefix)
Set the role prefix to distinguish from permissions when checking for isPermitted requests.
|
String |
toString() |
authenticate, authenticateObservable, newInstance, rxAuthenticatepublic static final io.vertx.lang.rx.TypeArg<ShiroAuth> __TYPE_ARG
public static final String DEFAULT_ROLE_PREFIX
public ShiroAuth(ShiroAuth delegate)
public String toString()
toString in class AuthProviderpublic boolean equals(Object o)
equals in class AuthProviderpublic int hashCode()
hashCode in class AuthProviderpublic ShiroAuth getDelegate()
getDelegate in class AuthProvider@Deprecated 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 © 2019 Eclipse. All rights reserved.