io.vertx.ext.auth.shiro

## Interface ShiroAuth

- All Superinterfaces:
    AuthProvider

  Deprecated.

      @Deprecated
      public interface ShiroAuth
      extends AuthProvider

  Factory interface for creating Apache Shiro based `AuthProvider` instances.
  Author:
    Tim Fox

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static String` | `DEFAULT_ROLE_PREFIX` Deprecated. The default role prefix

  - ### Method Summary

    All Methods Static Methods Instance Methods Abstract Methods Default Methods Deprecated Methods
    Modifier and Type | Method and Description
    --- | ---
    `static ShiroAuth` | `create(Vertx vertx, org.apache.shiro.realm.Realm realm)` Deprecated. Create a Shiro auth provider
    `static ShiroAuth` | `create(Vertx vertx, ShiroAuthOptions options)` Deprecated. Create a Shiro auth provider
    `static ShiroAuth` | `create(Vertx vertx, ShiroAuthRealmType realmType, JsonObject config)` Deprecated. see `create(Vertx, ShiroAuthOptions)`
    `ShiroAuth` | `setRolePrefix(String rolePrefix)` Deprecated. Set the role prefix to distinguish from permissions when checking for isPermitted requests.

    - ### Methods inherited from interface io.vertx.ext.auth.AuthProvider

      `authenticate`

- - ### Field Detail

    - #### DEFAULT_ROLE_PREFIX

          static final String DEFAULT_ROLE_PREFIX

      Deprecated.
      The default role prefix
      See Also:
        Constant Field Values

  - ### Method Detail

    - #### create

          @Deprecated
          static ShiroAuth create(Vertx vertx,
                                              ShiroAuthRealmType realmType,
                                              JsonObject config)

      Deprecated. see `create(Vertx, ShiroAuthOptions)`
      Create a Shiro auth provider
      Parameters:
        `vertx` - the Vert.x instance
        `realmType` - the Shiro realm type
        `config` - the config
      Returns:
        the auth provider

    - #### create

          static ShiroAuth create(Vertx vertx,
                                  org.apache.shiro.realm.Realm realm)

      Deprecated.
      Create a Shiro auth provider
      Parameters:
        `vertx` - the Vert.x instance
        `realm` - the Shiro realm
      Returns:
        the auth provider

    - #### create

          static ShiroAuth create(Vertx vertx,
                                  ShiroAuthOptions options)

      Deprecated.
      Create a Shiro auth provider
      Parameters:
        `vertx` - the Vert.x instance
        `options` - the Shiro configuration options
      Returns:
        the auth provider

    - #### setRolePrefix

          ShiroAuth setRolePrefix(String rolePrefix)

      Deprecated.
      Set the role prefix to distinguish from permissions when checking for isPermitted requests.
      Parameters:
        `rolePrefix` - a Prefix e.g.: "role:"
      Returns:
        a reference to this for fluency

Copyright © 2022 Eclipse. All rights reserved.