GUACAMOLE-362: Deal gracefully with situations where password cannot be decrypted.

This commit is contained in:
Nick Couchman
2017-08-27 20:55:27 -04:00
committed by Nick Couchman
parent 36489ff403
commit ed4c025a2e
2 changed files with 15 additions and 4 deletions

View File

@@ -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();