I'm using SRP login with text-based users.properties file.
I have a GUI app that provides login dialog box for users to enter username/password for the intended JBoss Server.
First time logging in, everything is okay.
The login configuration file:
// The test client login configurations
srp {
org.jboss.security.srp.jaas.SRPLoginModule required
password-stacking="useFirstPass"
srpServerJndiName="srp/SRPRemoteServerInterface"
java.naming.factory.initial="org.jnp.interfaces.NamingContextFactory"
java.naming.provider.url="localhost:1099"
jnp.disableDiscovery="true"
;
// JBoss LoginModule
org.jboss.security.ClientLoginModule required
password-stacking="useFirstPass"
;
};