this.authentication.process(spnegoCredentials.getInitToken());
principal = this.authentication.getPrincipal();
nextToken = this.authentication.getNextToken();
}
} catch (jcifs.spnego.AuthenticationException e) {
throw new BadCredentialsAuthenticationException(e);
}
// evaluate jcifs response
if (nextToken != null) {
logger.debug("Setting nextToken in credentials");
spnegoCredentials.setNextToken(nextToken);