org.wildfly.swarm.config.elytron

## Class AddPrefixRoleMapper<T extends AddPrefixRoleMapper<T>>

- java.lang.Object
- - org.wildfly.swarm.config.elytron.AddPrefixRoleMapper<T>

-     public class AddPrefixRoleMapper<T extends AddPrefixRoleMapper<T>>
      extends Object

  A role mapper definition for a role mapper that adds a prefix to each provided.

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `AddPrefixRoleMapper(String key)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `addPropertyChangeListener(PropertyChangeListener listener)` Adds a property change listener
    `String` | `getKey()`
    `String` | `prefix()` The prefix to add to each role.
    `T` | `prefix(String value)` The prefix to add to each role.
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener

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

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

- - ### Constructor Detail

    - #### AddPrefixRoleMapper

          public AddPrefixRoleMapper(String key)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### addPropertyChangeListener

          public void addPropertyChangeListener(PropertyChangeListener listener)

      Adds a property change listener

    - #### removePropertyChangeListener

          public void removePropertyChangeListener(PropertyChangeListener listener)

      Removes a property change listener

    - #### prefix

          public String prefix()

      The prefix to add to each role.

    - #### prefix

          public T prefix(String value)

      The prefix to add to each role.

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