-
Type:
Bug
-
Status: Resolved (View Workflow)
-
Priority:
Minor
-
Resolution: Done
-
Affects Version/s: Negotiation_2_2_6
-
Fix Version/s: Negotiation_2_2_7
-
Component/s: Negotiation
-
Labels:None
-
Estimated Difficulty:Low
-
Bugzilla Update:Perform
org.jboss.security.negotiation.spnego.SPNEGOLoginModule
private class AcceptSecContext:
if (gssContext.isEstablished())
{
log.warn("Authentication was performed despite already being authenticated!");
// TODO - Refactor to only do this once.
setIdentity(new KerberosPrincipal(gssContext.getSrcName().toString()));
The last line should obey the "removeRealmFromPrincipal" flag similarly as a bit further down:
setIdentity(createIdentity(gssContext.getSrcName().toString()));