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 |
| 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
|
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 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 AuthProviderpublic 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 © 2017. All rights reserved.