directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r188707 - in /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec: SpnegoContainer.java grammars/SpnegoGrammar.java
Date Tue, 07 Jun 2005 06:36:23 GMT
Author: elecharny
Date: Mon Jun  6 23:36:22 2005
New Revision: 188707

URL: http://svn.apache.org/viewcvs?rev=188707&view=rev
Log:
Modified the names of decoded objects : no more POJOs

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

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoContainer.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoContainer.java?rev=188707&r1=188706&r2=188707&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoContainer.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/SpnegoContainer.java
Mon Jun  6 23:36:22 2005
@@ -21,13 +21,13 @@
 import org.apache.asn1.ber.grammar.IGrammar;
 import org.apache.asn1.spnego.codec.grammars.SpnegoGrammar;
 import org.apache.asn1.spnego.codec.grammars.SpnegoStatesEnum;
-import org.apache.asn1.spnego.pojo.SpnegoPOJO;
+import org.apache.asn1.spnego.pojo.Spnego;
 
 
 /**
  * The Spnego container stores all the spnego decoded by the
  * Asn1Decoder. When dealing whith an incoding PDU, we will obtain
- * a SpnegoPOJO in the IContainer.
+ * a Spnego in the IContainer.
  *  
  * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
  */
@@ -36,7 +36,7 @@
     //~ Instance fields ----------------------------------------------------------------------------
 
     /** The SPNEGO POJO */
-    private SpnegoPOJO spnego;
+    private Spnego spnego;
     
     //~ Constructors -------------------------------------------------------------------------------
 
@@ -62,7 +62,7 @@
     /**
      * @return Returns the spnego.
      */
-    public SpnegoPOJO getSpnego()
+    public Spnego getSpnego()
     {
         return spnego;
     }
@@ -73,7 +73,7 @@
      *
      * @param spnego The spnego to set.
      */
-    public void setSpnego( SpnegoPOJO spnego )
+    public void setSpnego( Spnego spnego )
     {
         this.spnego = spnego;
     }

Modified: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoGrammar.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoGrammar.java?rev=188707&r1=188706&r2=188707&view=diff
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoGrammar.java
(original)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/codec/grammars/SpnegoGrammar.java
Mon Jun  6 23:36:22 2005
@@ -28,9 +28,9 @@
 import org.apache.asn1.primitives.OctetString;
 import org.apache.asn1.spnego.SpnegoConstants;
 import org.apache.asn1.spnego.codec.SpnegoContainer;
-import org.apache.asn1.spnego.pojo.SpnegoNegTokenInitPOJO;
-import org.apache.asn1.spnego.pojo.SpnegoNegTokenTargPOJO;
-import org.apache.asn1.spnego.pojo.SpnegoPOJO;
+import org.apache.asn1.spnego.pojo.SpnegoNegTokenInit;
+import org.apache.asn1.spnego.pojo.SpnegoNegTokenTarg;
+import org.apache.asn1.spnego.pojo.Spnego;
 
 import org.apache.log4j.Logger;
 
@@ -90,7 +90,7 @@
                         SpnegoContainer spnegoContainer = ( SpnegoContainer ) container;
 
                         // First, create a empty Spnego POJO
-                        SpnegoPOJO spnegoPOJO = new SpnegoNegTokenInitPOJO();
+                        Spnego spnegoPOJO = new SpnegoNegTokenInit();
 
                         // Then stores it into the container
                         spnegoContainer.setSpnego( spnegoPOJO );
@@ -112,7 +112,7 @@
 
                         // We have to store the expected Length of the PDU
                         SpnegoContainer spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoPOJO      spnego          = spnegoContainer.getSpnego();
+                        Spnego      spnego          = spnegoContainer.getSpnego();
 
                         spnego.setExpectedLength( spnegoContainer.getCurrentTLV().getLength()
                             .getLength() );
@@ -158,7 +158,7 @@
 
                         // first, we check that the length is OK
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
                         checkLength( spnego, tlv );
@@ -211,7 +211,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -252,7 +252,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -299,7 +299,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -337,7 +337,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -394,7 +394,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -459,7 +459,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -503,7 +503,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -570,7 +570,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -611,7 +611,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -656,7 +656,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -714,7 +714,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -757,7 +757,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -801,7 +801,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenInitPOJO spnego          = ( SpnegoNegTokenInitPOJO
)
+                        SpnegoNegTokenInit spnego          = ( SpnegoNegTokenInit )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -832,7 +832,7 @@
                         SpnegoContainer spnegoContainer = ( SpnegoContainer ) container;
 
                         // First, create a empty Spnego POJO
-                        SpnegoPOJO spnegoPOJO = new SpnegoNegTokenTargPOJO();
+                        Spnego spnegoPOJO = new SpnegoNegTokenTarg();
 
                         // Then stores it into the container
                         spnegoContainer.setSpnego( spnegoPOJO );
@@ -854,7 +854,7 @@
 
                         // We have to store the expected Length of the PDU
                         SpnegoContainer spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoPOJO      spnego          = spnegoContainer.getSpnego();
+                        Spnego      spnego          = spnegoContainer.getSpnego();
 
                         spnego.setExpectedLength( spnegoContainer.getCurrentTLV().getLength()
                             .getLength() );
@@ -908,7 +908,7 @@
 
                         // first, we check that the length is OK
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
                         checkLength( spnego, tlv );
@@ -969,7 +969,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1026,7 +1026,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
                         int valueLength = tlv.getLength().getLength();
@@ -1071,7 +1071,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1124,7 +1124,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1173,7 +1173,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1213,7 +1213,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1265,7 +1265,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1309,7 +1309,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1356,7 +1356,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1414,7 +1414,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1458,7 +1458,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 
@@ -1506,7 +1506,7 @@
                     {
 
                         SpnegoContainer        spnegoContainer = ( SpnegoContainer ) container;
-                        SpnegoNegTokenTargPOJO spnego          = ( SpnegoNegTokenTargPOJO
)
+                        SpnegoNegTokenTarg spnego          = ( SpnegoNegTokenTarg )
                             spnegoContainer.getSpnego();
                         TLV                    tlv             = spnegoContainer.getCurrentTLV();
 



Mime
View raw message