org.wildfly.swarm.config.security.security_domain

## Class ClassicAuthentication<T extends ClassicAuthentication<T>>

- java.lang.Object
- - org.wildfly.swarm.config.security.security_domain.ClassicAuthentication<T>

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

  Traditional authentication configuration. Configures a list of login modules to be used.

- - ### Nested Class Summary

    Nested Classes
    Modifier and Type | Class and Description
    --- | ---
    `static class` | `ClassicAuthentication.ClassicAuthenticationResources` Child mutators for ClassicAuthentication

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `ClassicAuthentication()`

  - ### 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()`
    `T` | `loginModule(LoginModule value)` Add the LoginModule object to the list of subresources
    `T` | `loginModule(LoginModuleSupplier supplier)` Install a supplied LoginModule object to the list of subresources
    `T` | `loginModule(String childKey)` Create and configure a LoginModule object to the list of subresources
    `T` | `loginModule(String childKey, LoginModuleConsumer consumer)` Create and configure a LoginModule object to the list of subresources
    `T` | `loginModules(List<LoginModule> value)` Add all LoginModule objects to this subresource
    `void` | `removePropertyChangeListener(PropertyChangeListener listener)` Removes a property change listener
    `ClassicAuthentication.ClassicAuthenticationResources` | `subresources()`

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

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

- - ### Constructor Detail

    - #### ClassicAuthentication

          public ClassicAuthentication()

  - ### 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

    - #### subresources

          public ClassicAuthentication.ClassicAuthenticationResources subresources()

    - #### loginModules

          public T loginModules(List<LoginModule> value)

      Add all LoginModule objects to this subresource
      Parameters:
        `value` - List of LoginModule objects.
      Returns:
        this

    - #### loginModule

          public T loginModule(LoginModule value)

      Add the LoginModule object to the list of subresources
      Parameters:
        `value` - The LoginModule to add
      Returns:
        this

    - #### loginModule

          public T loginModule(String childKey,
                               LoginModuleConsumer consumer)

      Create and configure a LoginModule object to the list of subresources
      Parameters:
        `key` - The key for the LoginModule resource
        `config` - The LoginModuleConsumer to use
      Returns:
        this

    - #### loginModule

          public T loginModule(String childKey)

      Create and configure a LoginModule object to the list of subresources
      Parameters:
        `key` - The key for the LoginModule resource
      Returns:
        this

    - #### loginModule

          public T loginModule(LoginModuleSupplier supplier)

      Install a supplied LoginModule object to the list of subresources

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