If AuthenticationProvider property not provided, parseValue() should return null.

This commit is contained in:
Michael Jumper
2011-12-20 21:42:26 -08:00
parent d327940d2a
commit 0439f0043e

View File

@@ -35,6 +35,10 @@ public abstract class AuthenticationProviderProperty implements GuacamolePropert
@Override
public AuthenticationProvider parseValue(String authProviderClassName) throws GuacamoleException {
// If no property provided, return null.
if (authProviderClassName == null)
return null;
// Get auth provider instance
try {