Package | Description |
---|---|
io.vertx.ext.auth | |
io.vertx.ext.auth.shiro | |
io.vertx.rxjava.ext.auth |
Modifier and Type | Class and Description |
---|---|
class |
AuthServiceVertxEBProxy |
Modifier and Type | Field and Description |
---|---|
protected AuthService |
AbstractAuthServiceVerticle.service |
Modifier and Type | Method and Description |
---|---|
static AuthService |
AuthService.create(Vertx vertx,
AuthProvider provider)
Create an auth service instance using the specified auth provider instance.
|
static AuthService |
AuthService.createEventBusProxy(Vertx vertx,
String address)
Create a proxy to an auth service that is deployed somwehere on the event bus.
|
static AuthService |
AuthService.createFromClassName(Vertx vertx,
String className)
Create an auth service instance using the specified auth provider class name.
|
protected abstract AuthService |
AbstractAuthServiceVerticle.createService() |
protected AuthService |
AuthServiceVerticle.createService() |
AuthService |
AuthService.hasPermission(String loginID,
String permission,
Handler<AsyncResult<Boolean>> resultHandler)
Does the user have the specified permission?
|
AuthService |
AuthServiceVertxEBProxy.hasPermission(String loginID,
String permission,
Handler<AsyncResult<Boolean>> resultHandler) |
AuthService |
AuthService.hasPermissions(String loginID,
Set<String> permissions,
Handler<AsyncResult<Boolean>> resultHandler)
Does the user have the specified permissions?
|
AuthService |
AuthServiceVertxEBProxy.hasPermissions(String loginID,
Set<String> permissions,
Handler<AsyncResult<Boolean>> resultHandler) |
AuthService |
AuthService.hasRole(String loginID,
String role,
Handler<AsyncResult<Boolean>> resultHandler)
Does the user have the specified role?
|
AuthService |
AuthServiceVertxEBProxy.hasRole(String loginID,
String role,
Handler<AsyncResult<Boolean>> resultHandler) |
AuthService |
AuthService.hasRoles(String loginID,
Set<String> roles,
Handler<AsyncResult<Boolean>> resultHandler)
Does the user have the specified roles?
|
AuthService |
AuthServiceVertxEBProxy.hasRoles(String loginID,
Set<String> roles,
Handler<AsyncResult<Boolean>> resultHandler) |
AuthService |
AuthService.login(JsonObject principal,
JsonObject credentials,
Handler<AsyncResult<String>> resultHandler)
Authenticate (login) using the specified credentials.
|
AuthService |
AuthServiceVertxEBProxy.login(JsonObject principal,
JsonObject credentials,
Handler<AsyncResult<String>> resultHandler) |
AuthService |
AuthService.loginWithTimeout(JsonObject principal,
JsonObject credentials,
long timeout,
Handler<AsyncResult<String>> resultHandler)
Authenticate (login) using the specified credentials.
|
AuthService |
AuthServiceVertxEBProxy.loginWithTimeout(JsonObject principal,
JsonObject credentials,
long timeout,
Handler<AsyncResult<String>> resultHandler) |
AuthService |
AuthService.logout(String loginID,
Handler<AsyncResult<Void>> resultHandler)
Logout the user
|
AuthService |
AuthServiceVertxEBProxy.logout(String loginID,
Handler<AsyncResult<Void>> resultHandler) |
AuthService |
AuthService.refreshLoginSession(String loginID,
Handler<AsyncResult<Void>> resultHandler)
Refresh an existing login ID so it doesn't expire
|
AuthService |
AuthServiceVertxEBProxy.refreshLoginSession(String loginID,
Handler<AsyncResult<Void>> resultHandler) |
AuthService |
AuthService.setReaperPeriod(long reaperPeriod)
Set the reaper period - how often to check for expired logins, in ms.
|
AuthService |
AuthServiceVertxEBProxy.setReaperPeriod(long reaperPeriod) |
Constructor and Description |
---|
AuthServiceVertxProxyHandler(Vertx vertx,
AuthService service,
String address,
boolean topLevel,
long timeoutSeconds) |
Modifier and Type | Interface and Description |
---|---|
interface |
ShiroAuthService
An Auth service implementation that uses Apache Shiro internally.
|
Modifier and Type | Method and Description |
---|---|
static AuthService |
ShiroAuthService.create(Vertx vertx,
ShiroAuthRealmType authRealmType,
JsonObject config)
Create an auth service using the specified auth realm type.
|
static AuthService |
ShiroAuthService.createFromRealm(Vertx vertx,
org.apache.shiro.realm.Realm shiroRealm)
Create an auth service using the specified Shiro Realm instance
|
protected AuthService |
ShiroAuthServiceVerticle.createService() |
Modifier and Type | Method and Description |
---|---|
static AuthService |
AuthService.newInstance(AuthService arg) |
Constructor and Description |
---|
AuthService(AuthService delegate) |
Copyright © 2015. All Rights Reserved.