Class AbstractAuthOptionsCmd
java.lang.Object
org.keycloak.client.registration.cli.commands.AbstractGlobalOptionsCmd
org.keycloak.client.registration.cli.commands.AbstractAuthOptionsCmd
- All Implemented Interfaces:
org.jboss.aesh.console.command.Command
- Direct Known Subclasses:
ConfigCmd,ConfigCredentialsCmd,ConfigInitialTokenCmd,ConfigRegistrationTokenCmd,ConfigTruststoreCmd,CreateCmd,DeleteCmd,GetCmd,UpdateCmd,UpdateTokenCmd
- Author:
- Marko Strukelj
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected booleanprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected Stringprotected StringFields inherited from class org.keycloak.client.registration.cli.commands.AbstractGlobalOptionsCmd
dumpTrace, help -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidprotected 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 voidinitFromParent(AbstractAuthOptionsCmd parent) protected booleanprotected voidprotected booleanprotected voidsetupTruststore(ConfigData configData, org.jboss.aesh.console.command.invocation.CommandInvocation invocation) Methods inherited from class org.keycloak.client.registration.cli.commands.AbstractGlobalOptionsCmd
help, initFromParent, nothingToDo, printHelpMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jboss.aesh.console.command.Command
execute
-
Field Details
-
config
-
noconfig
protected boolean noconfig -
server
-
realm
-
clientId
-
user
-
password
-
secret
-
keystore
-
storePass
-
keyPass
-
alias
-
trustStore
-
trustPass
-
insecure
protected boolean insecure -
token
-
-
Constructor Details
-
AbstractAuthOptionsCmd
public AbstractAuthOptionsCmd()
-
-
Method Details
-
initFromParent
-
applyDefaultOptionValues
protected void applyDefaultOptionValues() -
noOptions
protected boolean noOptions() -
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
-
checkUnsupportedOptions
-
booleanOptionForCheck
-