3 Replies Latest reply on May 26, 2006 12:36 PM by Scott Stark

    Using java.net.Authenticator with JBoss

    Scott Povlot Newbie

      (I hope this is the right place to post this)

      I want to create a java.net.Authenticator subclass so that I can provide a secured username/password that will be sent to the proxy when a network connection is made.

      I will use code such as

      Authenticator.setDefault(new secureAuthenticator() );


      Will this conflict with anything in JBoss? I found something while searching called org.jboss.security.SecurityAssociationAuthenticator which seems to already be set as the default.

      Also, is there a way to configure this in one of the JBoss configuration files? I noticed that ClientLoginModule is related to the org.jboss.security.SecurityAssociation. But I am not exactly sure how. Any additional information on this would be helpful.


      Thanks,

      Scott