Class AbstractAuthOptionsCmd
- java.lang.Object
-
- org.keycloak.client.admin.cli.commands.AbstractGlobalOptionsCmd
-
- org.keycloak.client.admin.cli.commands.AbstractAuthOptionsCmd
-
- All Implemented Interfaces:
org.jboss.aesh.console.command.Command
- Direct Known Subclasses:
AbstractRequestCmd,AddRolesCmd,ConfigCmd,ConfigCredentialsCmd,ConfigTruststoreCmd,RemoveRolesCmd,SetPasswordCmd
public abstract class AbstractAuthOptionsCmd extends AbstractGlobalOptionsCmd
- Author:
- Marko Strukelj
-
-
Constructor Summary
Constructors Constructor Description AbstractAuthOptionsCmd()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidapplyDefaultOptionValues()protected static StringbooleanOptionForCheck(boolean value)protected voidcheckUnsupportedOptions(String... options)protected ConfigDatacopyWithServerInfo(ConfigData config)protected ConfigDataensureAuthInfo(ConfigData config, org.jboss.aesh.console.command.invocation.CommandInvocation commandInvocation)protected StringgetTargetRealm(ConfigData config)protected voidinitFromParent(AbstractAuthOptionsCmd parent)protected booleannoOptions()protected voidprocessGlobalOptions()protected booleanrequiresLogin()protected voidsetupTruststore(ConfigData configData, org.jboss.aesh.console.command.invocation.CommandInvocation invocation)-
Methods inherited from class org.keycloak.client.admin.cli.commands.AbstractGlobalOptionsCmd
applyFieldFilter, composeAdminRoot, extractLastComponentOfUri, extractTypeNameFromUri, help, initFromParent, nothingToDo, printHelp, requireValue
-
-
-
-
Method Detail
-
initFromParent
protected void initFromParent(AbstractAuthOptionsCmd parent)
-
applyDefaultOptionValues
protected void applyDefaultOptionValues()
-
noOptions
protected boolean noOptions()
-
getTargetRealm
protected String getTargetRealm(ConfigData config)
-
processGlobalOptions
protected void processGlobalOptions()
- Overrides:
processGlobalOptionsin classAbstractGlobalOptionsCmd
-
setupTruststore
protected void setupTruststore(ConfigData configData, org.jboss.aesh.console.command.invocation.CommandInvocation invocation)
-
ensureAuthInfo
protected ConfigData ensureAuthInfo(ConfigData config, org.jboss.aesh.console.command.invocation.CommandInvocation commandInvocation)
-
requiresLogin
protected boolean requiresLogin()
-
copyWithServerInfo
protected ConfigData copyWithServerInfo(ConfigData config)
-
checkUnsupportedOptions
protected void checkUnsupportedOptions(String... options)
-
booleanOptionForCheck
protected static String booleanOptionForCheck(boolean value)
-
-