mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 21:27:40 +00:00
GUACAMOLE-839: Ensure all SSO and related mechanisms set Credentials username.
This is necessary to ensure the ${GUAC_USERNAME} token is properly substituted in cases where SSO and SSO-like auth methods are used.
This commit is contained in:
@@ -163,10 +163,6 @@ public class TicketValidationService {
|
||||
// Canonicalize username as lowercase
|
||||
username = username.toLowerCase();
|
||||
|
||||
// Update credentials with username provided by CAS for sake of
|
||||
// ${GUAC_USERNAME} token
|
||||
credentials.setUsername(username);
|
||||
|
||||
// Retrieve password, attempt decryption, and set credentials.
|
||||
Object credObj = ticketAttrs.remove("credential");
|
||||
if (credObj != null) {
|
||||
|
Reference in New Issue
Block a user