Auth API fix. Client hash algorithm simplification

This commit is contained in:
serge-rider
2020-05-11 18:01:09 +03:00
parent 0886b40e2c
commit 9d80804cae
2 changed files with 3 additions and 5 deletions
@@ -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]!
}