directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r165435 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoDecoder.java
Date Sat, 30 Apr 2005 23:15:19 GMT
Author: elecharny
Date: Sat Apr 30 16:15:19 2005
New Revision: 165435

URL: http://svn.apache.org/viewcvs?rev=165435&view=rev
Log:
Added the OID and ObjectString Pools initialization

Modified:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoDecoder.java

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoDecoder.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoDecoder.java?rev=165435&r1=165434&r2=165435&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoDecoder.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoDecoder.java
Sat Apr 30 16:15:19 2005
@@ -19,6 +19,8 @@
 import org.apache.asn1.ber.Asn1Decoder;
 import org.apache.asn1.ber.tlv.TLVFactory;
 import org.apache.asn1.ber.tlv.TLVPoolEnum;
+import org.apache.asn1.primitives.factories.OIDFactory;
+import org.apache.asn1.primitives.factories.OctetStringFactory;
 import org.apache.asn1.spnego.pojo.factories.SpnegoNegTokenInitPOJOFactory;
 import org.apache.asn1.spnego.pojo.factories.SpnegoNegTokenTargPOJOFactory;
 import org.apache.asn1.util.MutableString1024Factory;
@@ -63,6 +65,8 @@
 
         // Standard ASN.1 pools
         poolMgr.initPool(TLVPoolEnum.TLV_POOL, new TLVFactory(), 1024, 10240);
+        poolMgr.initPool(PoolEnum.OID_POOL, new OIDFactory(), 1024, 1024);
+        poolMgr.initPool(PoolEnum.OCTET_STRING_POOL, new OctetStringFactory(), 1024, 1024);
         
         // String pools
         poolMgr.initPool(PoolEnum.STRING_POOL_16, new MutableString16Factory(), 1024, 1024);



Mime
View raw message