Commit 187f51a9 authored by Tigran Mkrtchyan's avatar Tigran Mkrtchyan
Browse files

gss: do not extract kerberos principal for debug only

parent aa19398d
......@@ -107,9 +107,6 @@ public class GssProtocolFilter implements ProtocolFilter {
if (gssContext.isEstablished()) {
// FIXME: hard coded number
_sequence = 2;
call.getCredential().getSubject().getPrincipals().
add(new KerberosPrincipal(gssContext.getSrcName().toString()));
_log.log(Level.FINE, "RPCGSS_SEC: {0}", cred.getContext().getSrcName());
res.setSequence(_sequence);
byte[] crc = Ints.toByteArray(_sequence);
crc = gssContext.getMIC(crc, 0, 4, new MessageProp(false));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment