mirror of
https://github.com/gyurix1968/guacamole-client.git
synced 2025-09-06 13:17:41 +00:00
GUACAMOLE-362: Deal gracefully with situations where password cannot be decrypted.
This commit is contained in:
committed by
Nick Couchman
parent
36489ff403
commit
ed4c025a2e
@@ -47,6 +47,9 @@ public abstract class CipherGuacamoleProperty implements GuacamoleProperty<Ciphe
|
||||
@Override
|
||||
public Cipher parseValue(String value) throws GuacamoleException {
|
||||
|
||||
if (value == null || value.isEmpty())
|
||||
return null;
|
||||
|
||||
try {
|
||||
|
||||
final Environment environment = new LocalEnvironment();
|
||||
|
Reference in New Issue
Block a user