org.wildfly.swarm.management

## Class InMemoryAuthorization

- java.lang.Object
- - org.wildfly.swarm.management.InMemoryAuthorization

-     public class InMemoryAuthorization
      extends Object

  Author:
    Bob McWhirter

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `InMemoryAuthorization(PlugInAuthorization plugin)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `add(String userName, List<String> roles)`
    `void` | `add(String userName, String... roles)`
    `InMemoryAuthorization` | `user(String userName, Consumer<InMemoryUserAuthorization> config)`

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

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

- - ### Constructor Detail

    - #### InMemoryAuthorization

          public InMemoryAuthorization(PlugInAuthorization plugin)

  - ### Method Detail

    - #### add

          public void add(String userName,
                          String... roles)

    - #### add

          public void add(String userName,
                          List<String> roles)

    - #### user

          public InMemoryAuthorization user(String userName,
                                            Consumer<InMemoryUserAuthorization> config)

Copyright © 2017 JBoss by Red Hat. All rights reserved.