jakarta-taglibs-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From James Ots ...@jamesots.com>
Subject Additions to LDAP tags
Date Tue, 24 Sep 2002 10:35:01 GMT
Here's a patch to add some stuff to the LDAP tags. I used 'cvs diff > patch' 
to produce it.


Index: jakarta-taglibs/jndi/src/org/apache/taglibs/jndi/UseContextTag.java
===================================================================
RCS file: 
/home/cvspublic/jakarta-taglibs/jndi/src/org/apache/taglibs/jndi/UseContextTag.java,v
retrieving revision 1.3
diff -r1.3 UseContextTag.java
2c2
<  * $Header: 
/home/cvspublic/jakarta-taglibs/jndi/src/org/apache/taglibs/jndi/UseContextTag.java,v 
1.3 2002/04/08 14:39:44 glenn Exp $
---
>  * $Header: 
/home/cvs/jakarta-taglibs/jndi/src/org/apache/taglibs/jndi/UseContextTag.java,v 
1.3 2002/04/08 14:39:44 glenn Exp $
10c10
<  * Copyright (c) 1999 The Apache Software Foundation.  All rights 
---
>  * Copyright (c) 1999, 2002 The Apache Software Foundation.  All rights 
294a295,374
>     }
> 
>     /** 
>      * Getter for property securityProtocol.
>      * @return Value of property securityProtocol.
>      */
>     public String getSecurityProtocol() {
>         try {
>             return (String) env.get(Context.SECURITY_PROTOCOL);
>         } catch (ClassCastException cce) {
>             return null;
>         }
>     }
>     
>     /**
>      * Setter for property securityProtocol.
>      * @param securityProtocol New value of property securityProtocol.
>      */
>     public void setSecurityProtocol(String securityProtocol) {
>         env.put(Context.SECURITY_PROTOCOL, securityProtocol);
>     }
> 
>     /** 
>      * Getter for property securityAuthentication.
>      * @return Value of property securityAuthentication.
>      */
>     public String getSecurityAuthentication() {
>         try {
>             return (String) env.get(Context.SECURITY_AUTHENTICATION);
>         } catch (ClassCastException cce) {
>             return null;
>         }
>     }
>     
>     /**
>      * Setter for property securityAuthentication.
>      * @param securityAuthentication New value of property 
securityAuthentication.
>      */
>     public void setSecurityAuthentication(String securityAuthentication) {
>         env.put(Context.SECURITY_AUTHENTICATION, securityAuthentication);
>     }
> 
>     /** 
>      * Getter for property securityCredentials.
>      * @return Value of property securityCredentials.
>      */
>     public String getSecurityCredentials() {
>         try {
>             return (String) env.get(Context.SECURITY_CREDENTIALS);
>         } catch (ClassCastException cce) {
>             return null;
>         }
>     }
>     
>     /**
>      * Setter for property securityCredentials.
>      * @param securityCredentials New value of property securityCredentials.
>      */
>     public void setSecurityCredentials(String securityCredentials) {
>         env.put(Context.SECURITY_CREDENTIALS, securityCredentials);
>     }
> 
>     /** 
>      * Getter for property securityPrincipal.
>      * @return Value of property securityPrincipal.
>      */
>     public String getSecurityPrincipal() {
>         try {
>             return (String) env.get(Context.SECURITY_PRINCIPAL);
>         } catch (ClassCastException cce) {
>             return null;
>         }
>     }
>     
>     /**
>      * Setter for property securityPrincipal.
>      * @param securityPrincipal New value of property securityPrincipal.
>      */
>     public void setSecurityPrincipal(String securityPrincipal) {
>         env.put(Context.SECURITY_PRINCIPAL, securityPrincipal);
Index: jakarta-taglibs/jndi/xml/jndi.xml
===================================================================
RCS file: /home/cvspublic/jakarta-taglibs/jndi/xml/jndi.xml,v
retrieving revision 1.1
diff -r1.1 jndi.xml
211a212,261
>         <name>securityAuthentication</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.SECURITY_AUTHENTICATION 
attribute to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
>         <name>securityCredentials</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.SECURITY_CREDENTIALS attribute 
to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
>         <name>securityPrincipal</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.SECURITY_PRINCIPAL attribute to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
>         <name>securityProtocol</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.SECURITY_PROTOCOL attribute to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
>         <name>urlPkgPrefixes</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.URL_PKG_PREFIXES attribute to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
606a657,696
>         <name>securityAuthentication</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.SECURITY_AUTHENTICATION 
attribute to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
>         <name>securityCredentials</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.SECURITY_CREDENTIALS attribute 
to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
>         <name>securityPrincipal</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.SECURITY_PRINCIPAL attribute to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
>         <name>securityProtocol</name>
>         <required>false</required>
>         <rtexprvalue>true</rtexprvalue>
>         <description>
>           Provides the value of the Context.SECURITY_PROTOCOL attribute to 
>           the InitialContext environment Hashtable.
>         </description>
>         <availability>1.0</availability>
>       </attribute>
>       <attribute>
967a1058,1063
> 
> <revision release="Development" date="12/09/2002">
>   <description>
>     Added security properties to contexts.
>   </description>
> </revision>


--
To unsubscribe, e-mail:   <mailto:taglibs-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:taglibs-dev-help@jakarta.apache.org>


Mime
View raw message