public class HostServerOperationAccess extends BaseOperationAccessRequirement
operation, toString
address
log, traceEnabled
NONE
Constructor and Description |
---|
HostServerOperationAccess(CommandContext ctx,
String address,
String operation) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
checkAccess(CommandContext ctx) |
protected void |
completeAccessCheck(CommandContext ctx) |
Collection<String> |
getAllowedHosts(CommandContext ctx) |
Collection<String> |
getAllowedServers(CommandContext ctx,
String host) |
protected void |
initAllowedLists(CommandContext ctx) |
void |
resetState() |
toString
getAddress
cliEvent, isSatisfied
public HostServerOperationAccess(CommandContext ctx, String address, String operation)
public void resetState()
resetState
in class BaseAccessRequirement
public Collection<String> getAllowedHosts(CommandContext ctx)
public Collection<String> getAllowedServers(CommandContext ctx, String host)
protected void initAllowedLists(CommandContext ctx)
protected void completeAccessCheck(CommandContext ctx)
protected boolean checkAccess(CommandContext ctx)
checkAccess
in class BaseAccessRequirement
Copyright © 2023 JBoss by Red Hat. All rights reserved.