directory-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From elecha...@apache.org
Subject svn commit: r168390 - /directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/SpnegoConstants.java
Date Thu, 05 May 2005 19:41:32 GMT
Author: elecharny
Date: Thu May  5 12:41:32 2005
New Revision: 168390

URL: http://svn.apache.org/viewcvs?rev=168390&view=rev
Log:
Created the SPNEGO constant class to store constants.

Added:
    directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/SpnegoConstants.java

Added: directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/SpnegoConstants.java
URL: http://svn.apache.org/viewcvs/directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/SpnegoConstants.java?rev=168390&view=auto
==============================================================================
--- directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/SpnegoConstants.java
(added)
+++ directory/sandbox/trunk/asn1-new-codec/src/java/org/apache/asn1/spnego/SpnegoConstants.java
Thu May  5 12:41:32 2005
@@ -0,0 +1,34 @@
+/*
+ *   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.spnego;
+
+/**
+ * This class stores the SPNEGO constants
+ * @author <a href="mailto:dev@directory.apache.org">Apache Directory Project</a>
+ */
+public class SpnegoConstants {
+    /** Values of the NegTokenTarg ENUMERATED negocoiation result  
+     * negResult      [0]  ENUMERATED { (Tag)
+     *        accept_completed (0),
+     *        accept_incomplete (1),
+     *        rejected (2) 
+     * }
+     */ 
+    public static final int SPNEGO_ACCEPT_COMPLETED = 0;
+    public static final int SPNEGO_ACCEPT_INCOMPLETE = 1;
+    public static final int SPNEGO_ACCEPT_REJECTED = 2;
+}



Mime
View raw message