This content has been marked as final.
Show 3 replies
-
1. Re: Remote Swing client not working
spadafora Sep 17, 2005 1:59 PM (in response to spadafora)anybody could help please?
thank you. -
2. Re: Remote Swing client not working
darranl Sep 17, 2005 2:22 PM (in response to spadafora)"spadafora" wrote:
Hello,
I did successifully run the "JAAS how to" examples, I also changed the login-config.xml to authenticate and authorizate users against my application datasource.
The JAAS how to examples used the ClientLoginModule on the client side to send the username and password from the client to the server, you are trying to pass the username and password into the InitalContext constructor.
Have a look at: -
http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch3.chapter.htm
Section 3.2.1.3 for the LoginInitialContextFactory that allows you to specify the username and password the way you are. -
3. Re: Remote Swing client not working
spadafora Sep 19, 2005 10:00 AM (in response to spadafora)it works!! thank you so much!
i did read the section you suggested and it works... actually i had to change my ejb-jar.xml ... but something small... and set in my auth.conf ClientLoginModule as required.
Now i need to do the same job (authentication and authorization) over HTTPS or http, would be great to do the login call over https and then use http for subsequent calls.
Could you please help me?
thank you in advance for your time.
Ciao