mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-839: Ensure SSL/TLS client auth failures are reflected in the Guacamole UI.
This commit is contained in:
@@ -68,6 +68,20 @@ public class AuthenticationSessionManager<T extends AuthenticationSession> {
|
||||
}, 1, 1, TimeUnit.MINUTES);
|
||||
}
|
||||
|
||||
/**
|
||||
* Generates a cryptographically-secure value identical in form to the
|
||||
* session tokens generated by {@link #defer(org.apache.guacamole.auth.sso.AuthenticationSession)}
|
||||
* but invalid. The returned value is indistinguishable from a valid token,
|
||||
* but is not a valid token.
|
||||
*
|
||||
* @return
|
||||
* An invalid token value that is indistinguishable from a valid
|
||||
* token.
|
||||
*/
|
||||
public String generateInvalid() {
|
||||
return idGenerator.generateIdentifier();
|
||||
}
|
||||
|
||||
/**
|
||||
* Resumes the Guacamole side of the authentication process that was
|
||||
* previously deferred through a call to defer(). Once invoked, the
|
||||
|
Reference in New Issue
Block a user