@@ -1916,6 +1916,140 @@ public List<Setting<?>> getSettings() {
1916
1916
);
1917
1917
}
1918
1918
1919
+
1920
+ //todo: What is Property.Filtered?
1921
+ //todo: Do we want these properties to be Final?
1922
+ settings .add (
1923
+ Setting .simpleString (
1924
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ALGORITHM ,
1925
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ALGORITHM_DEFAULT ,
1926
+ Property .NodeScope ,
1927
+ Property .Filtered ,
1928
+ Property .Final
1929
+ )
1930
+ );
1931
+
1932
+ settings .add (Setting .intSetting (
1933
+ ConfigConstants .SECURITY_PASSWORD_HASHING_PBKDF2_ITERATIONS ,
1934
+ ConfigConstants .SECURITY_PASSWORD_HASHING_PBKDF2_ITERATIONS_DEFAULT ,
1935
+ Property .NodeScope ,
1936
+ Property .Filtered ,
1937
+ Property .Final
1938
+ ));
1939
+
1940
+ settings .add (Setting .intSetting (
1941
+ ConfigConstants .SECURITY_PASSWORD_HASHING_PBKDF2_LENGTH ,
1942
+ ConfigConstants .SECURITY_PASSWORD_HASHING_PBKDF2_LENGTH_DEFAULT ,
1943
+ Property .NodeScope ,
1944
+ Property .Filtered ,
1945
+ Property .Final
1946
+ ));
1947
+
1948
+ settings .add (Setting .simpleString (
1949
+ ConfigConstants .SECURITY_PASSWORD_HASHING_PBKDF2_ALGORITHM ,
1950
+ ConfigConstants .SECURITY_PASSWORD_HASHING_PBKDF2_ALGORITHM_DEFAULT ,
1951
+ Property .NodeScope ,
1952
+ Property .Filtered ,
1953
+ Property .Final
1954
+ ));
1955
+
1956
+ settings .add (Setting .intSetting (
1957
+ ConfigConstants .SECURITY_PASSWORD_HASHING_SCRYPT_WORK_FACTOR ,
1958
+ ConfigConstants .SECURITY_PASSWORD_HASHING_SCRYPT_WORK_FACTOR_DEFAULT ,
1959
+ Property .NodeScope ,
1960
+ Property .Filtered ,
1961
+ Property .Final
1962
+ ));
1963
+
1964
+ settings .add (Setting .intSetting (
1965
+ ConfigConstants .SECURITY_PASSWORD_HASHING_SCRYPT_RESOURCES ,
1966
+ ConfigConstants .SECURITY_PASSWORD_HASHING_SCRYPT_RESOURCES_DEFAULT ,
1967
+ Property .NodeScope ,
1968
+ Property .Filtered ,
1969
+ Property .Final
1970
+ ));
1971
+
1972
+ settings .add (Setting .intSetting (
1973
+ ConfigConstants .SECURITY_PASSWORD_HASHING_SCRYPT_PARALLELIZATION ,
1974
+ ConfigConstants .SECURITY_PASSWORD_HASHING_SCRYPT_PARALLELIZATION_DEFAULT ,
1975
+ Property .NodeScope ,
1976
+ Property .Filtered ,
1977
+ Property .Final
1978
+ ));
1979
+
1980
+ settings .add (Setting .intSetting (
1981
+ ConfigConstants .SECURITY_PASSWORD_HASHING_SCRYPT_DERIVED_KEY_LENGTH ,
1982
+ ConfigConstants .SECURITY_PASSWORD_HASHING_SCRYPT_DERIVED_KEY_LENGTH_DEFAULT ,
1983
+ Property .NodeScope ,
1984
+ Property .Filtered ,
1985
+ Property .Final
1986
+ ));
1987
+
1988
+ settings .add (Setting .intSetting (
1989
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_MEMORY ,
1990
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_MEMORY_DEFAULT ,
1991
+ Property .NodeScope ,
1992
+ Property .Filtered ,
1993
+ Property .Final
1994
+ ));
1995
+
1996
+ settings .add (Setting .intSetting (
1997
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_ITERATIONS ,
1998
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_ITERATIONS_DEFAULT ,
1999
+ Property .NodeScope ,
2000
+ Property .Filtered ,
2001
+ Property .Final
2002
+ ));
2003
+
2004
+ settings .add (Setting .intSetting (
2005
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_LENGTH ,
2006
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_LENGTH_DEFAULT ,
2007
+ Property .NodeScope ,
2008
+ Property .Filtered ,
2009
+ Property .Final
2010
+ ));
2011
+
2012
+ settings .add (Setting .intSetting (
2013
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_PARALLELISM ,
2014
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_PARALLELISM_DEFAULT ,
2015
+ Property .NodeScope ,
2016
+ Property .Filtered ,
2017
+ Property .Final
2018
+ ));
2019
+
2020
+ settings .add (Setting .simpleString (
2021
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_TYPE ,
2022
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_TYPE_DEFAULT ,
2023
+ Property .NodeScope ,
2024
+ Property .Filtered ,
2025
+ Property .Final
2026
+ ));
2027
+
2028
+ settings .add (Setting .intSetting (
2029
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_VERSION ,
2030
+ ConfigConstants .SECURITY_PASSWORD_HASHING_ARGON2_VERSION_DEFAULT ,
2031
+ Property .NodeScope ,
2032
+ Property .Filtered ,
2033
+ Property .Final
2034
+ ));
2035
+
2036
+
2037
+ settings .add (Setting .intSetting (
2038
+ ConfigConstants .SECURITY_PASSWORD_HASHING_BCRYPT_ROUNDS ,
2039
+ ConfigConstants .SECURITY_PASSWORD_HASHING_BCRYPT_ROUNDS_DEFAULT ,
2040
+ Property .NodeScope ,
2041
+ Property .Filtered ,
2042
+ Property .Final
2043
+ ));
2044
+
2045
+ settings .add (Setting .simpleString (
2046
+ ConfigConstants .SECURITY_PASSWORD_HASHING_BCRYPT_MINOR ,
2047
+ ConfigConstants .SECURITY_PASSWORD_HASHING_BCRYPT_MINOR_DEFAULT ,
2048
+ Property .NodeScope ,
2049
+ Property .Filtered ,
2050
+ Property .Final
2051
+ ));
2052
+
1919
2053
return settings ;
1920
2054
}
1921
2055
0 commit comments