org.wildfly.extras.creaper.commands.security.realms
Class RemoveSecurityRealm

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

public final class RemoveSecurityRealm
extends Object
implements OnlineCommand, OfflineCommand

Remove given security realm. Can move the server to reload-required state!


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
RemoveSecurityRealm(String securityRealmName)
           
 
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

RemoveSecurityRealm

public RemoveSecurityRealm(String securityRealmName)
Method Detail

apply

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

apply

public void apply(OfflineCommandContext ctx)
           throws Exception
Specified by:
apply in interface OfflineCommand
Throws:
Exception


Copyright © 2020. All rights reserved.