mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 05:07:41 +00:00
Merge staging/1.2.0 changes back to master.
This commit is contained in:
@@ -131,9 +131,12 @@ public class AuthenticationProviderService {
|
|||||||
samlResponse.validateTimestamps();
|
samlResponse.validateTimestamps();
|
||||||
|
|
||||||
// Grab the username, and, if present, finish authentication.
|
// Grab the username, and, if present, finish authentication.
|
||||||
String username = samlResponse.getNameId().toLowerCase();
|
String username = samlResponse.getNameId();
|
||||||
if (username != null) {
|
if (username != null) {
|
||||||
|
|
||||||
|
// Canonicalize username as lowercase
|
||||||
|
username = username.toLowerCase();
|
||||||
|
|
||||||
// Retrieve any provided attributes
|
// Retrieve any provided attributes
|
||||||
Map<String, List<String>> attributes =
|
Map<String, List<String>> attributes =
|
||||||
samlResponse.getAttributes();
|
samlResponse.getAttributes();
|
||||||
|
Reference in New Issue
Block a user