Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-11 Thread Eric B.
You can also use a Context element in conf/Catalina/[host]/[appName].xml, which will override the one in the webapp's META-INF/context.xml file. This allows a site administrator to control the container-supplied resources - including the realm - that the webapp will use. Good point. Hadn't

Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-11 Thread Eric B.
Pooling Resources: you might want to try other AppServers such as GF and Weblogic for either pooling and/or persistence provider support (as specified by J2EE Connector Architecture) https://glassfish.dev.java.net/javaee5/integration-tech/glassfish_connpooling.html Identity and

Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-11 Thread Eric B.
Martin Gainty mgai...@hotmail.com wrote in message news:blu142-w7c108f09ee2529b84ca6eae...@phx.gbl... server.xml should contain this JNDIRealm specification defined globally Realm className=org.apache.catalina.realm.JNDIRealm !-- The LDAP Address of your DC --

RE: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-11 Thread Martin Gainty
JAAS handles all authentications and authorisation thru plugins such as Oracle Internet Directory LDAP they also have a nice admin interface so you can visually see all the plugins drop a line when you're ready to switch *gruss* Martin __ Verzicht

RE: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-08 Thread Martin Gainty
Eric- Pooling Resources: you might want to try other AppServers such as GF and Weblogic for either pooling and/or persistence provider support (as specified by J2EE Connector Architecture) https://glassfish.dev.java.net/javaee5/integration-tech/glassfish_connpooling.html Identity and

Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chuck, On 8/7/2009 11:07 PM, Caldarale, Charles R wrote: From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: Re: How to define a Realm as a global resource and use it as a ResourceLink? or declare it in the webapp context.xml

RE: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Martin Gainty
unsure why docBase for Context is set to webapps/admin instead of webapps http://tomcat.apache.org/tomcat-5.5-doc/config/context.html Martin Gainty __ Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité Diese Nachricht ist

RE: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Caldarale, Charles R
From: Martin Gainty [mailto:mgai...@hotmail.com] Subject: RE: How to define a Realm as a global resource and use it as a ResourceLink? unsure why docBase for Context is set to webapps/admin instead of webapps The docBase attribute must *never* point to webapps; it's the Host appBase that

RE: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: How to define a Realm as a global resource and use it as a ResourceLink? In order to secure and clean things up a little, I would like to move my JNDIRealm definition to a global resource and use it within my context

RE: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Martin Gainty
understood documentation at http://tomcat.apache.org/tomcat-5.5-doc/config/context.html states The Document Base (also known as the Context Root) directory for this web application, or the pathname to the web application archive file (if this web application is being

RE: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Martin Gainty
All- server.xml should contain this JNDIRealm specification defined globally Realm className=org.apache.catalina.realm.JNDIRealm !-- The LDAP Address of your DC -- connectionURL=ldap://dc1.domain.local:389; !-- Account information to access

Re: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Eric B.
Caldarale, Charles R chuck.caldar...@unisys.com wrote in message In order to secure and clean things up a little, I would like to move my JNDIRealm definition to a global resource and use it within my context Sounds like you're confusing two separate and distinct facilities of Tomcat.

RE: How to define a Realm as a global resource and use it as a ResourceLink?

2009-08-07 Thread Caldarale, Charles R
From: news [mailto:n...@ger.gmane.org] On Behalf Of Eric B. Subject: Re: How to define a Realm as a global resource and use it as a ResourceLink? or declare it in the webapp context.xml file itself You can also use a Context element in conf/Catalina/[host]/[appName].xml, which will