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"
  |    ;
  | };
  | 

Within the GUI app, user can switch logging to another JBoss Server.  When that 
happens, a dialog box pops up asking the name of a new JBoss Server.  And I 
would update java.naming.provider.url entry in the login configuration file 
according to what the user enters.  However, the new update does not seem to 
take any effect even if I already logout the previous user and create new 
LoginContext.  When the login dialog box pops up again, it is still looking for 
username and password that can authenticate on the previous JBoss Server.

Does anyone have this experience before?  Is there anything that I miss to do?

Thanks for any help,
wan

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3869467#3869467

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3869467


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to