Authentication per-container level possible ?

2002-11-07 Thread Iris
 Hello,

Is it possible to configure Tomcat, that it must check an authentication 
for all the webapps hosted
within the container ?
I mean tell Tomcat to send an authentication popup when someone goes to 
the http://localhost:8080/.
whithout configure each webapp hosted in.

Iris


--
To unsubscribe, e-mail:   
For additional commands, e-mail: 



--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org



JSP compilation problem with jboss-3.0.3_tomcat-4.1.12

2002-10-18 Thread Iris
 Hello,

I have an EJB User like wich interface is:
package com.alkinos.kernel.user ;

import javax.ejb.EJBLocalObject ;
import java.util.Collection ;

/**
* This interface defines the local interface for the User Bean
*/
public interface User extends EJBLocalObject {
public Integer getId() ;
public String getName() ;
public String getPassword() ;
public void setPassword(String password) ;
public Collection getProfiles() ;
public boolean verifyPassword(String password) ;
}

and a JSP which use this EJB:
String name = user.getName() ;
String password = user.getPassword() ;

At the compilation I have this error:
jboss-3.0.3_tomcat-4.1.12/tomcat-4.1.x/work/MainEngine/localhost/userwebui/components/editUser_jsp.java:131:
cannot resolve symbol
symbol : method getPassword ()
location: interface com.alkinos.kernel.user.User
form.setPassword(user.getPassword()) ;
   ^
1 error

I found that strange, so I changed my JSP code by:
ava.lang.reflect.Method method =
user.getClass().getMethod(getPassword, null);
System.out.println(method:  + method) ;
String password = (String)method.invoke(user, null) ;

And this works fine.

It's clear that there is a compilation problem but at the execution all
works fine.
Could this be a jasper problem ?

Iris


--
To unsubscribe, e-mail:   mailto:tomcat-user-unsubscribe;jakarta.apache.org
For additional commands, e-mail: mailto:tomcat-user-help;jakarta.apache.org