GUACAMOLE-362: Deal gracefully with situations where password cannot be decrypted.
This commit is contained in:
1 parent
36489ff403
commit
ed4c025a2e
2 files changed
+15
-4
No files matched your search
+3
@@ -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