public class ShiroAuthOptions extends Object implements AuthOptions
Modifier and Type | Field and Description |
---|---|
static ShiroAuthRealmType |
DEFAULT_TYPE |
Constructor and Description |
---|
ShiroAuthOptions() |
ShiroAuthOptions(JsonObject json) |
ShiroAuthOptions(ShiroAuthOptions that) |
Modifier and Type | Method and Description |
---|---|
ShiroAuthOptions |
clone() |
AuthProvider |
createProvider(Vertx vertx)
Create the suitable provider for this option.
|
JsonObject |
getConfig() |
ShiroAuthRealmType |
getType() |
ShiroAuthOptions |
setConfig(JsonObject config)
Set the Shiro auth config.
|
ShiroAuthOptions |
setType(ShiroAuthRealmType type)
Set the Shiro auth options type.
|
public static final ShiroAuthRealmType DEFAULT_TYPE
public ShiroAuthOptions()
public ShiroAuthOptions(ShiroAuthOptions that)
public ShiroAuthOptions(JsonObject json)
public ShiroAuthRealmType getType()
public ShiroAuthOptions setType(ShiroAuthRealmType type)
type
- the typepublic JsonObject getConfig()
public ShiroAuthOptions setConfig(JsonObject config)
config
- the configpublic ShiroAuthOptions clone()
clone
in interface AuthOptions
clone
in class Object
public AuthProvider createProvider(Vertx vertx)
AuthOptions
createProvider
in interface AuthOptions
vertx
- the vertx instanceCopyright © 2023 Eclipse. All rights reserved.