I try to dig my way through client login using Elytron (JavaEE application client, launched through "appclient.bat").
Question 1: for a programmatic login, it seems I need some JAR files on client side.
See e.g. the code snippet at https://docs.jboss.org/author/display/WFLY/Client+Authentication+with+Elytron+Client#ClientAuthenticationwithElytronClient-TheProgrammaticApproach => what JARs are needed? Most of the classes I found in "wildfly-11.0.0.CR1\modules\system\layers\base\org\wildfly\security\elytron-private\main\wildfly-elytron-1.1.1.Final.jar", but where are "Provider" and "WildFlyElytronProvider" from the sample?
I use Eclipse + JBoss Tools plugin, which provides a "WildFly 11" server runtime, but I assume that it lacks some JAR references, which would be worth a JBoss Tools JIRA. But I don't know the list of necessary files.
Question 2: what is the easiest way to do a login with credentials provided by the client app with minimal code?
The configuration file "wildfly-config.xml" just seems to support a fixed user/password.
And I don't want to do the security configuration in the client code - a config file is probably the better approach.
Is it possible to write a "wildfly-config.xml" file which declares all security related stuff, but username/password are provided by the client app? E.g. some callback?
Here is a sample file from a WildFly quickstart - I would like to avoid the "set-user-name" and "credentials" part:
<?xml version="1.0" encoding="UTF-8"?>