Package: io.vertx.groovy.ext.auth.shiro

## [Groovy] Class ShiroAuth

- io.vertx.groovy.ext.auth.shiro.ShiroAuth

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

- - ### Constructor Summary

    Constructors
    Constructor and description
    `ShiroAuth (Object delegate)`

  - ### Methods Summary

    Methods
    Type | Name and description
    --- | ---
    `static ShiroAuth` | `create(Vertx vertx, ShiroAuthRealmType realmType, Map<String, Object> config)` Create a Shiro auth provider
    `Object` | `getDelegate()`
    `ShiroAuth` | `setRolePrefix(String rolePrefix)` Set the role prefix to distinguish from permissions when checking for isPermitted requests.

- - ### Constructor Detail

    - #### ShiroAuth(Object delegate)

  - ### Method Detail

    - #### static ShiroAuth create(Vertx vertx, ShiroAuthRealmType realmType, Map<String, Object> config)

      Create a Shiro auth provider

      Returns:
        the auth provider
      Parameters:
        `vertx` - the Vert.x instance
        `realmType` - the Shiro realm type
        `config` - the config

    - #### Object getDelegate()

    - #### ShiroAuth setRolePrefix(String rolePrefix)

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

      Returns:
        a reference to this for fluency
      Parameters:
        `rolePrefix` - a Prefix e.g.: "role:"