directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r1033743 - /directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java
Date Wed, 10 Nov 2010 21:56:19 GMT
Author: elecharny
Date: Wed Nov 10 21:56:19 2010
New Revision: 1033743

URL: http://svn.apache.org/viewvc?rev=1033743&view=rev
Log:
Fixed the toString() method

Modified:
    directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java

Modified: directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java
URL: http://svn.apache.org/viewvc/directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java?rev=1033743&r1=1033742&r2=1033743&view=diff
==============================================================================
--- directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java
(original)
+++ directory/apacheds/trunk/kerberos-codec/src/main/java/org/apache/directory/shared/kerberos/codec/options/KdcOptions.java
Wed Nov 10 21:56:19 2010
@@ -155,66 +155,115 @@ public class KdcOptions extends Options
     {
         StringBuilder result = new StringBuilder();
 
+        // 0
+        if ( get( RESERVED ) )
+        {
+            result.append( "RESERVED " );
+        }
+        
+        // 1
+        if ( get( FORWARDABLE ) )
+        {
+            result.append( "FORWARDABLE " );
+        }
+        
+        // 2
+        if ( get( FORWARDED ) )
+        {
+            result.append( "FORWARDED " );
+        }
+
+        // 3
+        if ( get( PROXIABLE ) )
+        {
+            result.append( "PROXIABLE " );
+        }
+
+        // 4
+        if ( get( PROXY ) )
+        {
+            result.append( "PROXY " );
+        }
+
+        // 5
         if ( get( ALLOW_POSTDATE ) )
         {
             result.append( "ALLOW_POSTDATE " );
         }
 
-        if ( get( DISABLE_TRANSISTED_CHECKED ) )
+        // 6
+        if ( get( POSTDATED ) )
         {
-            result.append( "DISABLE_TRANSISTED_CHECKED " );
+            result.append( "POSTDATED " );
         }
 
-        if ( get( ENC_TKT_IN_SKEY ) )
+        // 7
+        if ( get( UNUSED7 ) )
         {
-            result.append( "ENC_TKT_IN_SKEY " );
+            result.append( "UNUSED7 " );
         }
 
-        if ( get( FORWARDABLE ) )
+        // 8
+        if ( get( RENEWABLE ) )
         {
-            result.append( "FORWARDABLE " );
+            result.append( "RENEWABLE " );
         }
 
-        if ( get( FORWARDED ) )
+        // 9
+        if ( get( UNUSED9 ) )
         {
-            result.append( "FORWARDED " );
+            result.append( "UNUSED9 " );
         }
 
-        if ( get( POSTDATED ) )
+        // 10
+        if ( get( UNUSED10 ) )
         {
-            result.append( "POSTDATED " );
+            result.append( "UNUSED10 " );
         }
 
-        if ( get( PROXIABLE ) )
+        // 11
+        if ( get( UNUSED11 ) )
         {
-            result.append( "PROXIABLE " );
+            result.append( "UNUSED11 " );
         }
 
-        if ( get( PROXY ) )
+        // 12
+        if ( get( UNUSED12 ) )
         {
-            result.append( "PROXY " );
+            result.append( "UNUSED12 " );
         }
 
-        if ( get( RENEW ) )
+        // 13
+        if ( get( UNUSED13 ) )
         {
-            result.append( "RENEW " );
+            result.append( "UNUSED13 " );
         }
 
-        if ( get( RENEWABLE ) )
+        // 26
+        if ( get( DISABLE_TRANSISTED_CHECKED ) )
         {
-            result.append( "RENEWABLE " );
+            result.append( "DISABLE_TRANSISTED_CHECKED " );
         }
 
+        // 27
         if ( get( RENEWABLE_OK ) )
         {
             result.append( "RENEWABLE_OK " );
         }
 
-        if ( get( RESERVED ) )
+        // 28
+        if ( get( ENC_TKT_IN_SKEY ) )
         {
-            result.append( "RESERVED " );
+            result.append( "ENC_TKT_IN_SKEY " );
+        }
+
+        // 30
+        if ( get( RENEW ) )
+        {
+            result.append( "RENEW " );
         }
 
+        // 31
         if ( get( VALIDATE ) )
         {
             result.append( "VALIDATE " );



Mime
View raw message