jdk/test/sun/security/krb5/auto/Context.java
changeset 16065 2d0b844bfbb6
parent 15006 10d6aacdd67f
child 18536 092411ced388
--- a/jdk/test/sun/security/krb5/auto/Context.java	Fri Mar 08 15:45:06 2013 -0800
+++ b/jdk/test/sun/security/krb5/auto/Context.java	Sat Mar 09 17:27:58 2013 +0800
@@ -297,6 +297,13 @@
     }
 
     /**
+     * Returns the cred inside, if there is one
+     */
+    public GSSCredential cred() {
+        return cred;
+    }
+
+    /**
      * Disposes the GSSContext within
      * @throws org.ietf.jgss.GSSException
      */