io.vertx.ext.shell.auth

## Class ShiroAuthOptions

- java.lang.Object
- - io.vertx.ext.shell.auth.AuthOptions
  - - io.vertx.ext.shell.auth.ShiroAuthOptions

-     public class ShiroAuthOptions
      extends AuthOptions

  Shiro auth configuration options, see Vert.x Auth Shiro component and/or Apache Shiro project. note: this will be moved to vertx-auth project after 3.1
  Author:
    Julien Viet

- - ### Field Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static ShiroAuthRealmType` | `DEFAULT_TYPE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ShiroAuthOptions()`
    `ShiroAuthOptions(JsonObject json)`
    `ShiroAuthOptions(ShiroAuthOptions that)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `AuthOptions` | `clone()`
    `JsonObject` | `getConfig()`
    `ShiroAuthRealmType` | `getType()`
    `ShiroAuthOptions` | `setConfig(JsonObject config)` Set the Shiro auth config.
    `ShiroAuthOptions` | `setType(ShiroAuthRealmType type)` Set the Shiro auth options type.

    - ### Methods inherited from class java.lang.Object

      `equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### DEFAULT_TYPE

          public static final ShiroAuthRealmType DEFAULT_TYPE

  - ### Constructor Detail

    - #### ShiroAuthOptions

          public ShiroAuthOptions()

    - #### ShiroAuthOptions

          public ShiroAuthOptions(ShiroAuthOptions that)

    - #### ShiroAuthOptions

          public ShiroAuthOptions(JsonObject json)

  - ### Method Detail

    - #### getType

          public ShiroAuthRealmType getType()

      Returns:
        the Shiro realm type

    - #### setType

          public ShiroAuthOptions setType(ShiroAuthRealmType type)

      Set the Shiro auth options type.
      Parameters:
        `type` - the type
      Returns:
        a reference to this, so the API can be used fluently

    - #### getConfig

          public JsonObject getConfig()

      Returns:
        the Shiro auth config

    - #### setConfig

          public ShiroAuthOptions setConfig(JsonObject config)

      Set the Shiro auth config.
      Parameters:
        `config` - the config
      Returns:
        a reference to this, so the API can be used fluently

    - #### clone

          public AuthOptions clone()

      Specified by:
        `clone` in class `AuthOptions`

Copyright © 2015. All rights reserved.