"Armin Waibel" <[EMAIL PROTECTED]> writes:

> - setup one jdbc-connection-descriptor
>>       <jdbc-connection-descriptor
>>         jcd-alias="oracle"
>>         default-connection="false"
>>         protocol="jdbc"
>>         subprotocol="oracle"
>>         platform="Oracle"
>>         driver="oracle.jdbc.driver.OracleDriver"
>>         jdbc-level="2.0"
>>         dbalias="thin:@host:1521:DB"
>>         username=""
>>         password=""
>>      />
> Say you have user 'guest' and user 'admin'.
> PBKey guestKey = new PBKey("oracle", "guest", "passwd1");
> PBKey adminKey = new PBKey("oracle", "admin", "passwd2");

Thanks for the quick response, here's a potential issue though.

OK, I can do that, no problem. However, I need to create these in an
authorization situation. I'm using SecurityFilter
(http://securityfilter.sf.net/) w/ Struts to do
authorization. SecurityFilter does this as a filter, so I don't have
access to the HttpRequest or anything. What I need to do is store the
resulting PB or PBKey or something useful into the connection manager
(or something). Then I could (I'm guessing) access that anywhere.

So I guess my real question is how and where can I save this
information? Do I need a custom connection manager? Does that even
matter here?

Does that make sense?

> Preconditioned it work for you, could you send me a short explanation
> of this in your own words to integrate in FAQ (maybe this will make
> it easier for the next user ;-)).

I can try :)

cdh

-- 
Chris D. Halverson                         http://www.halverson.org/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to