org.wildfly.extras.creaper.commands.security
Class AddLoginModule

java.lang.Object
  extended by org.wildfly.extras.creaper.commands.security.AddLoginModule
All Implemented Interfaces:
Command, OfflineCommand, OnlineCommand

public final class AddLoginModule
extends Object
implements OnlineCommand, OfflineCommand

Generic command for adding new authentication classic login module to given security domain. For commonly used login-modules, it's preferred to use the static nested classes builders which extend Builder, because they apply some common configuration. Original Builder class is supposed to be used for left over login modules or when absolute control is desired.


Nested Class Summary
static class AddLoginModule.AdvancedLdapBuilder
           
static class AddLoginModule.Builder<THIS extends AddLoginModule.Builder>
          Builder for configuration attributes of a Login Module.
static class AddLoginModule.CertificateBuilder
           
static class AddLoginModule.CertificateRolesBuilder
           
static class AddLoginModule.DatabaseBuilder
           
static class AddLoginModule.DatabaseCertificateBuilder
           
static class AddLoginModule.KerberosBuilder
           
static class AddLoginModule.LdapBuilder
           
static class AddLoginModule.LdapExtendedBuilder
           
static class AddLoginModule.RealmDirectBuilder
           
static class AddLoginModule.SpnegoBuilder
           
static class AddLoginModule.UsersRolesBuilder
           
 
Field Summary
 
Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
NOOP
 
Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
NOOP
 
Constructor Summary
protected AddLoginModule(AddLoginModule.Builder builder)
           
 
Method Summary
 void apply(OfflineCommandContext ctx)
           
 void apply(OnlineCommandContext ctx)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand
toString
 
Methods inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand
toString
 

Constructor Detail

AddLoginModule

protected AddLoginModule(AddLoginModule.Builder builder)
Method Detail

apply

public void apply(OnlineCommandContext ctx)
           throws CliException,
                  CommandFailedException,
                  IOException,
                  TimeoutException,
                  InterruptedException
Specified by:
apply in interface OnlineCommand
Throws:
CliException
CommandFailedException
IOException
TimeoutException
InterruptedException

apply

public void apply(OfflineCommandContext ctx)
           throws CommandFailedException,
                  IOException
Specified by:
apply in interface OfflineCommand
Throws:
CommandFailedException
IOException


Copyright © 2016. All rights reserved.