org.wildfly.extras.creaper.commands.security
Class AddLoginModule
java.lang.Object
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.
| Fields inherited from interface org.wildfly.extras.creaper.core.online.OnlineCommand |
NOOP |
| Fields inherited from interface org.wildfly.extras.creaper.core.offline.OfflineCommand |
NOOP |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AddLoginModule
protected AddLoginModule(AddLoginModule.Builder builder)
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.