Two logins to run app client
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Application Server > Two logins to run app client




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Two logins to run app client  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-20-05 11:06 PM

Hi all,

Apologies for cross-posting from the Rational Application Developer forums, 
but hope I might get an answer from where since I didn't from there.

Having managed to get the Global Security set up in WebSphere (v6.0), with t
he application client logging in properly, I now have a problem with having 
to login twice to enter my application.

The first dialog is our normal application login dialog, which is used to au
thenticate against JAAS. The callback handler pops up the dialog when requir
ed, and authenticates ok.

The second dialog seems to be shown the first time a connection is made to t
he EJBs on the server. Having played around with sas.client.props, I can sto
p this dialog by setting the username and password in the sas.client.props f
ile, but this is not ideal.


Is it possible to stop the second login dialog (the one initiated by websphe
re) without having to enter the username and password in the sas.client.prop
s file?





[ Post a follow-up to this message ]



    Re: Two logins to run app client  
Paul Ilechko


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 01:49 AM

lloyd.colling@dcstrans.com wrote:

> Hi all,
>
> Apologies for cross-posting from the Rational Application Developer
> forums, but hope I might get an answer from where since I didn't from
> there.
>
> Having managed to get the Global Security set up in WebSphere (v6.0),
> with the application client logging in properly, I now have a problem
> with having to login twice to enter my application.
>
> The first dialog is our normal application login dialog, which is
> used to authenticate against JAAS. The callback handler pops up the
> dialog when required, and authenticates ok.
>
> The second dialog seems to be shown the first time a connection is
> made to the EJBs on the server. Having played around with
> sas.client.props, I can stop this dialog by setting the username and
> password in the sas.client.props file, but this is not ideal.
>
> Is it possible to stop the second login dialog (the one initiated by
> websphere) without having to enter the username and password in the
> sas.client.props file?


Take a look here, see if you are doing things right in your client:

http://publib.boulder.ibm.com/infoc.../tsec_pacs.html






[ Post a follow-up to this message ]



    Re: Two logins to run app client  


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
09-21-05 12:49 PM

Cheers,

Looking at the documentation, it turns out that I have to initialise an Init
alContext and lookup the jndi root at "" before doing the login, so that the
 login will affect both the application login and the connection login. No m
ore WAS dialog! 

Thanks for your help





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 07:11 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register