RE: On timeout

2002-04-10 Thread Williams Mark L DLPC
I don't know if there's an easy way to tell your user that they've timed out before they"submit" something, but in your JSP/servlet action you can also use something like HttpSession session = request.getSession(false); where "request" is HttpServletRequest. If "session" is null, the timeout has

RE: Integrating with JDBCRealm

2002-04-10 Thread Williams Mark L DLPC
You can probably do this with JAAS, which is included in j2sdk1.4.0 and was an add-on on 1.3. The main problem I had originally was with the CallbackHandler, which is supposed to get input from the user. I couldn't figure out how to have the CallbackHandler object create an HTML form, send that to

RE: integrating TOMCAT 4.0 with APACHE 2.0 - or Tomcat 3.3.1

2002-04-09 Thread Williams Mark L DLPC
Copying an earlier response from Larry Isaacs; maybe you missed it... If I read it right, sounds like it's premature to start trying to use Tomcat w/Apache 2. = The API to Apache 2 is very different from Apache 1.3.x. It was

RE: client interact with server -- other than "submit"?

2002-04-08 Thread Williams Mark L DLPC
As far as I know, you can't get a standard browser to send form data to the server without a "submit." If you want to repaint the form with the data in the fields, you can send a new verson of the page and form with the variables "value"d with the entries. That way, the user doesn't lose any entri

RE: NIGHTMARE

2002-04-08 Thread Williams Mark L DLPC
Would you all quit this? It's silly to generate so much email in defense of a product we're all working with. If someone doesn't like it, so be it. BTW, our correspondent may already be off the group, which could mean that we're all just reading our own flames. Can we return to matters of substanc

WHERE TO PUT APPLET .CLASS FILES

2002-04-04 Thread Williams Mark L DLPC
I think this went astray... apologize in advance if anyone gets it twice... -Mark > -Original Message- > > > Problem: Browser cannot load applet class. > Environment: Tomcat 4.0.3 w/Apache; Solaris 8. > Webapp Directory Structure: >$CATALINA_HOME---webapps---ROOT---src---[.html f

WHERE TO PUT APPLET .CLASS FILES

2002-04-04 Thread Williams Mark L DLPC
Problem: Browser cannot load applet class. Environment: Tomcat 4.0.3 w/Apache; Solaris 8. Webapp Directory Structure: $CATALINA_HOME---webapps---ROOT---src---[.html fragments] | +-WEB-INF---[web.xml, etc.]

RE: tomcat run -security under redhat 7.2 fails

2002-03-29 Thread Williams Mark L DLPC
You need to add an appropriate permissions entry to your catalina.policy file. On Solaris, the file is in ${catalina.home}/conf. The permission you need to add is permission java.io.FilePermission "/var/tomcat4/conf/server.xml" "read"; It should go into a "grant" section that pertains to

JAAS-STYLE AUTHORIZATION

2002-03-28 Thread Williams Mark L DLPC
Is it known whether or not Tomcat 4.0.1 will handle Principal-based permissions in the catalina.policy file? I have been working to get the Authentication and Authorization services to work and have no problem with the Authentication but I can't get Authorization to work. I've isolated the first s