GUAC-586: Associate unique identifier with each AuthenticationProvider.
This commit is contained in:
1 parent
f190f7f1a7
commit
b0ac5d22ff
8 files changed
+75
-13
No files matched your search
+5
@@ -192,6 +192,11 @@ public class MySQLAuthenticationProvider implements AuthenticationProvider {
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getIdentifier() {
|
||||
return "mysql";
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthenticatedUser authenticateUser(Credentials credentials)
|
||||
throws GuacamoleException {
|
||||
|
||||
+5
@@ -192,6 +192,11 @@ public class PostgreSQLAuthenticationProvider implements AuthenticationProvider
|
||||
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getIdentifier() {
|
||||
return "postgresql";
|
||||
}
|
||||
|
||||
@Override
|
||||
public AuthenticatedUser authenticateUser(Credentials credentials)
|
||||
throws GuacamoleException {
|
||||
|
||||
Reference in new issue
Block a user