Q: JAAS Realm useage

2003-08-14 Thread Roman \Blade\ Velichko
Hi to All!

How can I get Subject in my web application with JAASRealm?


With best wishes
Roman Blade Velichko [mailto:[EMAIL PROTECTED]

Chance favour to prepared mind


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



Re: RES: Tomcat Conn Pooling in 4.0.4 - Very Slow?

2003-08-07 Thread Roman \Blade\ Velichko
JEdSJD I guess that DBCP would be the better choice, since it is db platform
JEdSJD independency. I use it in 4.1.18 and its nice to me.
JEdSJD Eculides.
But DBCP throw an UnsupportedException when I try to
execute this portion if code:

try
{
   initCtx=new InitialContext();
   jndiDataSource=(DataSource) initCtx.lookup(java:comp/env/jdbc/gray/hr);
   Connection conn=jndiDataSource.getConnection(username,userpassword);
   // in this section conn is ALLWAYS NULL
}
catch(NamingException nameExcept)
{
   System.out.println(nameExcept.getMessage());
}


With best wishes
Roman Blade Velichko [mailto:[EMAIL PROTECTED]

Chance favour to prepared mind


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



JDBCRealm

2003-06-09 Thread Roman \Blade\ Velichko
Hi to All!

How can I retrieve additional information (link to authenticated user
like list of employeename) which he can see.



With best wishes
Roman Blade Velichko [mailto:[EMAIL PROTECTED]

Chance favour to prepared mind


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