Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: Add debug message for passticket generation during authentication transformation to detect real issue with configuration (v2) #3969

Merged
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ public AuthenticationCommand createCommand(Authentication authentication, AuthSo
passTicket = passTicketService.generate(userId, applId);
} catch (IRRPassTicketGenerationException e) {
String error = String.format("Could not generate PassTicket for user ID %s and APPLID %s", userId, applId);
logger.log(MessageType.DEBUG, error);
logger.log(MessageType.DEBUG, String.format("%s: %s", error, e));
throw new AuthSchemeException("org.zowe.apiml.security.ticket.generateFailed", error);
}
final String encoded = Base64.getEncoder()
Expand Down
Loading