If AuthenticationProvider property not provided, parseValue() should return null.
This commit is contained in:
1 parent
d327940d2a
commit
0439f0043e
1 file changed
+4
+4
@@ -35,6 +35,10 @@ public abstract class AuthenticationProviderProperty implements GuacamolePropert
|
|||||||
@Override
|
@Override
|
||||||
public AuthenticationProvider parseValue(String authProviderClassName) throws GuacamoleException {
|
public AuthenticationProvider parseValue(String authProviderClassName) throws GuacamoleException {
|
||||||
|
|
||||||
|
// If no property provided, return null.
|
||||||
|
if (authProviderClassName == null)
|
||||||
|
return null;
|
||||||
|
|
||||||
// Get auth provider instance
|
// Get auth provider instance
|
||||||
try {
|
try {
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user