summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2005-09-17 22:34:44 +0000
committerMark Wielaard <mark@klomp.org>2005-09-17 22:34:44 +0000
commit52758212c551aab0ca5bc27beef727db56140562 (patch)
tree7ca081746daab5671fa15aad96b0ac95b577af05
parentdd2f3424e7f8ac01aa712469148725939e6db5e4 (diff)
downloadclasspath-52758212c551aab0ca5bc27beef727db56140562.tar.gz
* org/ietf/jgss/GSSException.java (BAD_BINDINGS, BAD_MECH,
BAD_NAME, BAD_NAMETYPE, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED, DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_TOKEN, FAILURE, NO_CONTEXT, NO_CRED, OLD_TOKEN): Document official RFC values.
-rw-r--r--ChangeLog7
-rw-r--r--org/ietf/jgss/GSSException.java13
2 files changed, 20 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 61811f310..55e823a6c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2005-09-17 Mark Wielaard <mark@klomp.org>
+
+ * org/ietf/jgss/GSSException.java (BAD_BINDINGS, BAD_MECH,
+ BAD_NAME, BAD_NAMETYPE, CONTEXT_EXPIRED, CREDENTIALS_EXPIRED,
+ DEFECTIVE_CREDENTIAL, DEFECTIVE_TOKEN, DUPLICATE_TOKEN, FAILURE,
+ NO_CONTEXT, NO_CRED, OLD_TOKEN): Document official RFC values.
+
2005-09-17 Tom Tromey <tromey@redhat.com>
* java/lang/Short.java (SIZE): New constant.
diff --git a/org/ietf/jgss/GSSException.java b/org/ietf/jgss/GSSException.java
index b7b61b4fb..9c352e3e9 100644
--- a/org/ietf/jgss/GSSException.java
+++ b/org/ietf/jgss/GSSException.java
@@ -95,21 +95,25 @@ public class GSSException extends Exception
/**
* Channel bindings mismatch error.
+ * @specnote Should be 4 according to RFC 2853.
*/
public static final int BAD_BINDINGS = 1;
/**
* Unsupported mechanism requested error.
+ * @specnote Should be 1 according to RFC 2853.
*/
public static final int BAD_MECH = 2;
/**
* Invalid name provided error.
+ * @specnote Should be 2 according to RFC 2853.
*/
public static final int BAD_NAME = 3;
/**
* Name of unsupported type provided error.
+ * @specnote Should be 3 according to RFC 2853.
*/
public static final int BAD_NAMETYPE = 4;
@@ -125,36 +129,43 @@ public class GSSException extends Exception
/**
* Specified security context expired error.
+ * @specnote Should be 12 according to RFC 2853.
*/
public static final int CONTEXT_EXPIRED = 7;
/**
* Expired credentials detected error.
+ * @specnote Should be 11 according to RFC 2853.
*/
public static final int CREDENTIALS_EXPIRED = 8;
/**
* Defective credential error.
+ * @specnote Should be 10 according to RFC 2853.
*/
public static final int DEFECTIVE_CREDENTIAL = 9;
/**
* Defective token error.
+ * @specnote Should be 9 according to RFC 2853.
*/
public static final int DEFECTIVE_TOKEN = 10;
/**
* General failure, unspecified at GSS-API level.
+ * @specnote Should be 13 according to RFC 2853.
*/
public static final int FAILURE = 11;
/**
* Invalid security context error.
+ * @specnote Should be 8 according to RFC 2853.
*/
public static final int NO_CONTEXT = 12;
/**
* Invalid credentials error.
+ * @specnote Should be 7 according to RFC 2853.
*/
public static final int NO_CRED = 13;
@@ -188,6 +199,7 @@ public class GSSException extends Exception
* code that may occur during context establishment. It is not used to
* indicate supplementary status values. The MessageProp object is used
* for that purpose.
+ * @specnote Should be 20 according to RFC 2853.
*/
public static final int DUPLICATE_TOKEN = 19;
@@ -196,6 +208,7 @@ public class GSSException extends Exception
* that may occur during context establishment. It is not used to
* indicate supplementary status values. The MessageProp object is used
* for that purpose.
+ * @specnote Should be 19 according to RFC 2853.
*/
public static final int OLD_TOKEN = 20;