mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
Auth API fix. Client hash algorithm simplification
This commit is contained in:
+1
-1
@@ -62,7 +62,7 @@ public class LocalAuthProvider implements DBWAuthProvider<LocalAuthToken> {
|
||||
}
|
||||
|
||||
public static String makeClientPasswordHash(String userName, String password) {
|
||||
return SecurityUtils.makeDigest(userName, password);
|
||||
return SecurityUtils.makeDigest(password);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -9,13 +9,11 @@ type AuthCredentialInfo {
|
||||
displayName: String!
|
||||
description: String
|
||||
|
||||
editable: Boolean
|
||||
identifying: Boolean
|
||||
# This field must be shown in admin panel
|
||||
admin: Boolean
|
||||
# This field must be shown in login form
|
||||
user: Boolean
|
||||
possibleValues: [String]!
|
||||
possibleValues: [String]
|
||||
encryption: AuthCredentialEncryption
|
||||
}
|
||||
|
||||
@@ -27,7 +25,7 @@ type AuthProviderInfo {
|
||||
|
||||
isDefault: Boolean
|
||||
|
||||
configurationParameters: [ObjectPropertyInfo]!
|
||||
#configurationParameters: [ObjectPropertyInfo]!
|
||||
|
||||
credentialParameters: [AuthCredentialInfo]!
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user