You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by Venkat Dosapati <ve...@translogicsys.com> on 2000/04/12 19:48:19 UTC

problem with pagecontext

>Dear Tomcat developers,
>                using pageContext.setAttribute(String, Object), i
registered
>objects in HashTable.  when i get that object using
>pageContext.getAttribute(String), i could not get the object. it is giving
>null. it is not throwing any exception. please help me.
>-venkat
>-----Original Message-----
>From: Costin Manolache <co...@eng.sun.com>
>To: tomcat-dev@jakarta.apache.org <to...@jakarta.apache.org>
>Date: Saturday, April 08, 2000 2:06 PM
>Subject: Re: [Fwd: LDAP and SecurityContext]
>
>
>>Implementing LDAP-based authentication is not that most
>>users will ever do. I don't know if it's a good idea to get
>>into a tomcat-specific implementation, you should recomend
>>only standard APIs, not product-specific.
>>
>>The standard for authentication and authorization is JAAS - and probably
>>you should use an LDAP provider for JAAS ( most likely
>>there is no need - since JAAS can work with PAM, and PAM
>>can use LDAP or Radius and few other systems).
>>
>>SecurityCheck is just a bridge between tomcat and the real API.
>>
>>Of course - there are many other ways to implement security,
>>but the great advantage of interceptors is that it is possible to
>>implement multiple systems, and then compare and decide what's
>>better ( instead of guessing without code ).
>>
>>Costin
>>
>>>
>>> > Hi,
>>> > I'm working on a chapter for an upcoming book on JSPs by Wrox
>>> > Press. My chapter is on JSP and Security. One of the topics I'm
>>> > going to cover is how to add an LDAP based interceptor. I know
>>> > that I can use SecurityCheck.java as a model, but should I just add
>>> > my LDAP code to that class or create a new class (e.g.
>>> > LDAPSecurityCheck.java) and if so where do I tell Tomcat where to
>>> > locate it?
>>> >
>>> > Also is it possible to put any configuation information in the
>>> > web.xml file for the Security Interceptor to use (e.g. things like
>>> > LDAP hostname, search base, etc)? Or must I hardcode this or put
>>> > into a seperate properties file?
>>> >
>>> > If someone can point me in the right direction, I'll be happy to pass
>>> > back whatever code I write. I might be able to give even something
>>> > more valueable, documentation! ;)
>>> >
>>> > thanks,
>>> >
>>> > Mark
>>> >
>>> > ---------------------------------------------------------------------
>>> > To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>> > For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>>
>>> --
>>> Peace, Anil +<:-)
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>> For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>>
>>
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org
>
>