Details
-
Bug
-
Resolution: Fixed
-
P2
-
8
-
b59
-
b82
-
Verified
Description
The JGSS Server.java was enhanced with further debug logs.
.....
logOutput("Server.impersonateClient: "
+ "cred.getRemainingInitLifetime(mechOid) after sleep ="
+ context.getDelegCred().getRemainingInitLifetime(mechOid));
logOutput("Server.impersonateClient: "
+ "cred.getRemainingLifetime() after sleep ="
+ context.getDelegCred().getRemainingLifetime());
...............
With GSS_MECH ="kerberos" tests are fine.
However with GSS_MECH="spengo" the tests are failing
[2012-10-02T05:02:24.38] GSSException: Unsupported mechanism requested: 1.3.6.1.5.5.2
[2012-10-02T05:02:24.38] at sun.security.jgss.GSSCredentialImpl.getRemainingInitLifetime(GSSCredentialImpl.java:239)
[2012-10-02T05:02:24.38] at Server.impersonateClient(Server.java:471)
[2012-10-02T05:02:24.38] at Server.run(Server.java:145)
[2012-10-02T05:02:24.38] at java.lang.Thread.run(Thread.java:722)
[2012-10-02T05:02:24.38] java.security.PrivilegedActionException: java.net.SocketException: Connection reset
[2012-10-02T05:02:24.38] at java.security.AccessController.doPrivileged(Native Method)
[2012-10-02T05:02:24.38] at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
[2012-10-02T05:02:24.38] at Client.main(Client.java:245)
[2012-10-02T05:02:24.38] Caused by: java.net.SocketException: Connection reset
[2012-10-02T05:02:24.38] at java.net.SocketInputStream.read(SocketInputStream.java:189)
[2012-10-02T05:02:24.38] at java.net.SocketInputStream.read(SocketInputStream.java:121)
[2012-10-02T05:02:24.38] at java.io.DataInputStream.readFully(DataInputStream.java:195)
[2012-10-02T05:02:24.38] at java.io.DataInputStream.readFully(DataInputStream.java:169)
[2012-10-02T05:02:24.38] at Client.exchangeMessages(Client.java:99)
[2012-10-02T05:02:24.38] at Client$ClientAction.run(Client.java:328)
[2012-10-02T05:02:24.38] ... 3 more
.....
logOutput("Server.impersonateClient: "
+ "cred.getRemainingInitLifetime(mechOid) after sleep ="
+ context.getDelegCred().getRemainingInitLifetime(mechOid));
logOutput("Server.impersonateClient: "
+ "cred.getRemainingLifetime() after sleep ="
+ context.getDelegCred().getRemainingLifetime());
...............
With GSS_MECH ="kerberos" tests are fine.
However with GSS_MECH="spengo" the tests are failing
[2012-10-02T05:02:24.38] GSSException: Unsupported mechanism requested: 1.3.6.1.5.5.2
[2012-10-02T05:02:24.38] at sun.security.jgss.GSSCredentialImpl.getRemainingInitLifetime(GSSCredentialImpl.java:239)
[2012-10-02T05:02:24.38] at Server.impersonateClient(Server.java:471)
[2012-10-02T05:02:24.38] at Server.run(Server.java:145)
[2012-10-02T05:02:24.38] at java.lang.Thread.run(Thread.java:722)
[2012-10-02T05:02:24.38] java.security.PrivilegedActionException: java.net.SocketException: Connection reset
[2012-10-02T05:02:24.38] at java.security.AccessController.doPrivileged(Native Method)
[2012-10-02T05:02:24.38] at javax.security.auth.Subject.doAsPrivileged(Subject.java:537)
[2012-10-02T05:02:24.38] at Client.main(Client.java:245)
[2012-10-02T05:02:24.38] Caused by: java.net.SocketException: Connection reset
[2012-10-02T05:02:24.38] at java.net.SocketInputStream.read(SocketInputStream.java:189)
[2012-10-02T05:02:24.38] at java.net.SocketInputStream.read(SocketInputStream.java:121)
[2012-10-02T05:02:24.38] at java.io.DataInputStream.readFully(DataInputStream.java:195)
[2012-10-02T05:02:24.38] at java.io.DataInputStream.readFully(DataInputStream.java:169)
[2012-10-02T05:02:24.38] at Client.exchangeMessages(Client.java:99)
[2012-10-02T05:02:24.38] at Client$ClientAction.run(Client.java:328)
[2012-10-02T05:02:24.38] ... 3 more