Re: FW: JAAS Realm with JDBC Authentication

2009-07-07 Thread Oliver Block
m-howto.html#JAASRealm ) The LoginModule will receive the callbacks via it's initialize method: public void initialize(Subject subject, CallbackHandler callbackHandler, Map sharedState, Map options) Best Regards, Oliver Block

Re: FW: JAAS Realm with JDBC Authentication

2009-07-07 Thread Oliver Block
Please ask your questions. Am Dienstag, 7. Juli 2009 00:51:29 schrieb Geofrey Rainey: > Hi Mark, > > Yes i've read that document many times. However still need a few > pointers > on writing the Login Module and how it integrates with the > Callbackhandler > to create the popup dialog. I can't real

j_security_check

2009-06-25 Thread Oliver Block
ere is the correct place for application defined configuration and how to access configuration values from within a servlet? Best Regards, Oliver Block - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additiona

jaas.config / JAASRealms

2009-06-22 Thread Oliver Block
ic jaas.config files and are there any directives for web.xml to declare the path to jaas.config? Best Regards, Oliver Block - To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands,

Re: Form-based authentication

2009-06-22 Thread Oliver Block
Am Sonntag, 21. Juni 2009 01:34:29 schrieb Caldarale, Charles R: > [...] you hard-code the single role name in the LoginModule, using whatever > value you have in web.xml (currently "User"). You must have a role class > that implements Principal and Serializable (in addition to the Principal > cl

How to enable debug log level?

2009-06-22 Thread Oliver Block
Hello everybody, I discovered those logging instruction in the tomcat sources: if (log.isDebugEnabled()) log.debug(" Not subject to any constraint"); how can I set up my tomcat to return true to log.isDebugEnables() ? Best Regards, Ol

Re: Form-based authentication

2009-06-20 Thread Oliver Block
Am Samstag, 20. Juni 2009 23:41:11 schrieb Caldarale, Charles R: > > From: Oliver Block [mailto:li...@oliver-block.eu] > > Subject: Form-based authentication > > > > But now I do not see how to connect the authentication module > > to a security constraint. I mea

Form-based authentication

2009-06-20 Thread Oliver Block
) Best Regards, Oliver Block http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>

Access to configuration values

2009-06-19 Thread Oliver Block
e web application project. How cat I make use of mail.smtp.host in my code, in oder to avoid hard-coding the hostname? And, is it also ok to specify an imap store in the resource descriptor? If so, would it be 'mail.imap.store' ? Best Regards

Re: Configure Tomcat 6 for php 5.2.2

2007-05-22 Thread Oliver Block
Hi, please refer to the documentation: http://tomcat.apache.org/tomcat-6.0-doc/cgi-howto.html Don't forget to compile php as cgi. Regards, Oliver Am Montag, 21. Mai 2007 19:56 schrieb Pierluigi Fabbris: > Hi, > I've problem to configuring Tomcat 6. The problem is: > I use saxon b, java and

Startup Problem tomcat 4.1 on debian using kaffe

2006-08-25 Thread Oliver Block
Hello everybody, my log reports: * Using CATALINA_BASE: /var/lib/tomcat4 Using CATALINA_HOME: /usr/share/tomcat4 Using CATALINA_TMPDIR: /var/lib/tomcat4/temp Using JAVA_HOME: /usr/lib/kaffe Using Security Ma

Apache module?

2006-08-19 Thread Oliver Block
Hi, I am not really familiar with tomcat. I understand tomcat as server for JSP and servlets. Or in other words, a server that is capable to host web applications. I also know, that tomcat colaborates with apache. Now I am wondering, if there is also an apache module which has the capabilities