tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Saringer" <>
Subject how to pass a principal from tomcat to a application server
Date Mon, 25 Sep 2000 15:35:58 GMT

I wrote a simple Web Application in order to test authentiction issues.
All defined principals and roles are well known in the tomcat servlet
But if a servlet calls an enterprise bean, the principal is not passed to
the appllication server (here: weblogic) - the app-server identifies every
caller just as 'guest'.

here is the calling code:
    Hashtable ht = new Hashtable();
    ht.put(Context.PROVIDER_URL, "t3://localhost:7001");

        ctx = new InitialContext(ht);

Is there a possibility to pass on the principial?
When I just use weblogic (as httpd and servletcontainer, too), erverything
works fine.

Thanx for your help

View raw message