vertx / io.vertx.ext.auth.shiro / ShiroAuth

ShiroAuth

interface ShiroAuth : AuthProvider

Factory interface for creating Apache Shiro based io.vertx.ext.auth.AuthProvider instances.

Author
Tim Fox

Properties

DEFAULT_ROLE_PREFIX

static val DEFAULT_ROLE_PREFIX: String

The default role prefix

Functions

create

open static fun create(vertx: Vertx, realm: Realm): ShiroAuth
open static fun create(vertx: Vertx, options: ShiroAuthOptions): ShiroAuth

Create a Shiro auth provider

setRolePrefix

abstract fun setRolePrefix(rolePrefix: String): ShiroAuth

Set the role prefix to distinguish from permissions when checking for isPermitted requests.