git.samba.org
/
metze
/
heimdal
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c94f299
)
try read message in java code too
author
Love Hornquist Astrand
<lha@h5l.org>
Sun, 25 Sep 2011 17:40:02 +0000
(19:40 +0200)
committer
Love Hornquist Astrand
<lha@h5l.org>
Sun, 25 Sep 2011 17:40:02 +0000
(19:40 +0200)
appl/test/jgssapi_server.java
patch
|
blob
|
history
diff --git
a/appl/test/jgssapi_server.java
b/appl/test/jgssapi_server.java
index 81c90462c487c83b111bc7924258e6807dd1d19c..6c74d2ad551334cda8655acfe58f1b392893536c 100644
(file)
--- a/
appl/test/jgssapi_server.java
+++ b/
appl/test/jgssapi_server.java
@@
-122,6
+122,19
@@
public class jgssapi_server {
System.err.println("wrap conf failed");
+ /*
+ * wrap conf
+ */
+ System.out.println("warp conf");
+ intoken = new byte[] { 0x66, 0x6f, 0x6f };
+ outtoken = context.wrap(intoken, 0, intoken.length, new MessageProp(0, true));
+ putMessage(outStream, outtoken);
+ outtoken = getMessage(inStream);
+
+
+ context.dispose();
+
+
System.exit(0);
}
}