Bugs item #1028029, was opened at 2004-09-14 09:23
Message generated for change (Settings changed) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1028029&group_id=22866

Category: JBossSX
Group: None
>Status: Closed
Resolution: Postponed
Priority: 5
Submitted By: yuriyg (yuriyg)
Assigned to: Scott M Stark (starksm)
Summary: CallerIdentityLoginModule: credentials lost

Initial Comment:
>From web tier I call:

LoginContext lc = new LoginContext("client-login", 
handler);
lc.login();
...

then I call my business method which creates 
connection inside the call. The first call is ok. Then I go 
to other page and call a method of this 
stateless/stateful (I tried both) bean again (it's saved in 
session) and now a call gives

org.jboss.resource.JBossResourceException: Could not 
create connection; - nested throwable: 
(java.sql.SQLException: Null user or password not 
supported in THIN driver) 

And because by logs I see that 
CallerIdentityLoginModule uses *default* user/password 
it's clear that they are somewhere lost.

----------------------------------------------------------------------

Comment By: Scott M Stark (starksm)
Date: 2004-09-14 10:16

Message:
Logged In: YES 
user_id=175228

I need a working example as I have no idea if the security
context is being established in each web page that is
accessing an ejb, which is in turn accessing the connection.
Based on the exception I would say this is not the case in
which case the indicated behavior is expected.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1028029&group_id=22866


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to