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
|
Constructor and Description |
---|
ShiroAuth(Object delegate) |
ShiroAuth(ShiroAuth delegate) |
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, newInstance, rxAuthenticate
public static final io.vertx.lang.rx.TypeArg<ShiroAuth> __TYPE_ARG
public static final String DEFAULT_ROLE_PREFIX
public ShiroAuth(ShiroAuth delegate)
public ShiroAuth(Object delegate)
public String toString()
toString
in class AuthProvider
public boolean equals(Object o)
equals
in class AuthProvider
public int hashCode()
hashCode
in class AuthProvider
public 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 © 2023 Eclipse. All rights reserved.