You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@directory.apache.org by el...@apache.org on 2005/03/27 20:42:25 UTC

svn commit: r159170 - in directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories: ./ BindRequestPOJOFactory.java BindResponsePOJOFactory.java LdapMessagePOJOFactory.java SaslAuthenticationPOJOFactory.java SimpleAuthenticationPOJOFactory.java

Author: elecharny
Date: Sun Mar 27 10:42:24 2005
New Revision: 159170

URL: http://svn.apache.org/viewcvs?view=rev&rev=159170
Log:
A first working version of the new ASN.1 LDAP decoder.

Added:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindRequestPOJOFactory.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindResponsePOJOFactory.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/LdapMessagePOJOFactory.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SaslAuthenticationPOJOFactory.java
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SimpleAuthenticationPOJOFactory.java

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindRequestPOJOFactory.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindRequestPOJOFactory.java?view=auto&rev=159170
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindRequestPOJOFactory.java (added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindRequestPOJOFactory.java Sun Mar 27 10:42:24 2005
@@ -0,0 +1,43 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.asn1.ldap.pojo.factories;
+
+import org.apache.asn1.ldap.pojo.BindRequestPOJO;
+import org.apache.asn1.util.ObjectFactory;
+import org.apache.asn1.util.pools.PoolObject;
+
+
+/**
+ * Create a BindRequestPOJO object
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class BindRequestPOJOFactory implements ObjectFactory
+{
+    //~ Methods ------------------------------------------------------------------------------------
+
+    /**
+     * The method that creates the object
+     *
+     * @return The created object
+     */
+    public PoolObject makeObject()
+    {
+
+        return new BindRequestPOJO();
+    }
+}

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindResponsePOJOFactory.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindResponsePOJOFactory.java?view=auto&rev=159170
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindResponsePOJOFactory.java (added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/BindResponsePOJOFactory.java Sun Mar 27 10:42:24 2005
@@ -0,0 +1,43 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.asn1.ldap.pojo.factories;
+
+import org.apache.asn1.ldap.pojo.BindRequestPOJO;
+import org.apache.asn1.util.ObjectFactory;
+import org.apache.asn1.util.pools.PoolObject;
+
+
+/**
+ * Create a BindResponsePOJO object
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class BindResponsePOJOFactory implements ObjectFactory
+{
+    //~ Methods ------------------------------------------------------------------------------------
+
+    /**
+     * The method that creates the object
+     *
+     * @return The created object
+     */
+    public PoolObject makeObject()
+    {
+
+        return new BindRequestPOJO();
+    }
+}

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/LdapMessagePOJOFactory.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/LdapMessagePOJOFactory.java?view=auto&rev=159170
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/LdapMessagePOJOFactory.java (added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/LdapMessagePOJOFactory.java Sun Mar 27 10:42:24 2005
@@ -0,0 +1,43 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.asn1.ldap.pojo.factories;
+
+import org.apache.asn1.ldap.pojo.LdapMessagePOJO;
+import org.apache.asn1.util.ObjectFactory;
+import org.apache.asn1.util.pools.PoolObject;
+
+
+/**
+ * Create a LdapMessagePOJO object
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class LdapMessagePOJOFactory implements ObjectFactory
+{
+    //~ Methods ------------------------------------------------------------------------------------
+
+    /**
+     * The method that creates the object
+     *
+     * @return The created object
+     */
+    public PoolObject makeObject()
+    {
+
+        return new LdapMessagePOJO();
+    }
+}

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SaslAuthenticationPOJOFactory.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SaslAuthenticationPOJOFactory.java?view=auto&rev=159170
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SaslAuthenticationPOJOFactory.java (added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SaslAuthenticationPOJOFactory.java Sun Mar 27 10:42:24 2005
@@ -0,0 +1,43 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.asn1.ldap.pojo.factories;
+
+import org.apache.asn1.ldap.pojo.SaslAuthenticationPOJO;
+import org.apache.asn1.util.ObjectFactory;
+import org.apache.asn1.util.pools.PoolObject;
+
+
+/**
+ * Create a SaslAuthenticationPOJO object
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class SaslAuthenticationPOJOFactory implements ObjectFactory
+{
+    //~ Methods ------------------------------------------------------------------------------------
+
+    /**
+     * The method that creates the object
+     *
+     * @return The created object
+     */
+    public PoolObject makeObject()
+    {
+
+        return new SaslAuthenticationPOJO();
+    }
+}

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SimpleAuthenticationPOJOFactory.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SimpleAuthenticationPOJOFactory.java?view=auto&rev=159170
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SimpleAuthenticationPOJOFactory.java (added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/ldap/pojo/factories/SimpleAuthenticationPOJOFactory.java Sun Mar 27 10:42:24 2005
@@ -0,0 +1,43 @@
+/*
+ *   Copyright 2005 The Apache Software Foundation
+ *
+ *   Licensed under the Apache License, Version 2.0 (the "License");
+ *   you may not use this file except in compliance with the License.
+ *   You may obtain a copy of the License at
+ *
+ *       http://www.apache.org/licenses/LICENSE-2.0
+ *
+ *   Unless required by applicable law or agreed to in writing, software
+ *   distributed under the License is distributed on an "AS IS" BASIS,
+ *   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ *   See the License for the specific language governing permissions and
+ *   limitations under the License.
+ *
+ */
+package org.apache.asn1.ldap.pojo.factories;
+
+import org.apache.asn1.ldap.pojo.SimpleAuthenticationPOJO;
+import org.apache.asn1.util.ObjectFactory;
+import org.apache.asn1.util.pools.PoolObject;
+
+
+/**
+ * Create a SimpleAuthenticationPOJO object
+ * 
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class SimpleAuthenticationPOJOFactory implements ObjectFactory
+{
+    //~ Methods ------------------------------------------------------------------------------------
+
+    /**
+     * The method that creates the object
+     *
+     * @return The created object
+     */
+    public PoolObject makeObject()
+    {
+
+        return new SimpleAuthenticationPOJO();
+    }
+}