You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
actuallyDeleteAccount: false # If true, users can delete their own accounts. If false, accounts are disabled instead of deleted.
@@ -115,14 +110,14 @@ user:
115
110
flushOnWrite: false # If true, the audit log will be flushed to disk after every write (less performant). If false, the audit log will be flushed to disk every 10 seconds (more performant).
116
111
logEvents: true # If true, all events will be logged.
117
112
118
-
# Centralizing the URIs of common pages to make changing paths easier. You can leave this section alone if you use the default page locations from this project. These URLs do NOT have to be included in the unprotectedURIs list above as they will automatically be handled.
113
+
# Centralizing the URIs of common pages to make changing paths easier. You can leave this section alone if you use the default page locations from this project. These URLs do NOT have to be included in the unprotectedURIs list above as they will automatically be handled.
119
114
security:
120
115
failedLoginAttempts: 10# The number of failed login attempts before the user account is locked out. Set this to 0 to disable account lockout.
121
116
accountLockoutDuration: 30# The number of minutes to lock the user account after the maximum number of failed login attempts is reached. Set this to 0 to disable account lockout. Set this to -1 to lock the account until an administrator unlocks it.
122
117
bcryptStrength: 12# The bcrypt strength to use for password hashing. The higher the number, the longer it takes to hash the password. The default is 12. The minimum is 4. The maximum is 31.
123
118
testHashTime: true # If true, the test hash time will be logged to the console on startup. This is useful for determining the optimal bcryptStrength value.
124
119
defaultAction: deny # The default action for all requests. This can be either deny or allow.
125
-
unprotectedURIs: /,/index.html,/favicon.ico,/apple-touch-icon-precomposed.png,/css/*,/js/*,/js/user/*,/js/event/*,/img/**,/user/registration,/user/resendRegistrationToken,/user/resetPassword,/user/registrationConfirm,/user/changePassword,/user/savePassword,/oauth2/authorization/*,/login,/user/login,/user/login.html,/swagger-ui.html,/swagger-ui/**,/v3/api-docs/**,/event/,/event/list.html,/event/**,/about.html# A comma delimited list of URIs that should not be protected by Spring Security if the defaultAction is deny.
120
+
unprotectedURIs: /,/index.html,/favicon.ico,/apple-touch-icon-precomposed.png,/css/*,/js/*,/js/user/*,/js/event/*,/img/**,/user/registration,/user/resendRegistrationToken,/user/resetPassword,/user/registrationConfirm,/user/changePassword,/user/savePassword,/oauth2/authorization/*,/login,/user/login,/user/login.html,/swagger-ui.html,/swagger-ui/**,/v3/api-docs/**,/event/,/event/list.html,/event/**,/about.html,error.html# A comma delimited list of URIs that should not be protected by Spring Security if the defaultAction is deny.
126
121
protectedURIs: /protected.html # A comma delimited list of URIs that should be protected by Spring Security if the defaultAction is allow.
127
122
disableCSRFdURIs: /no-csrf-test # A comma delimited list of URIs that should not be protected by CSRF protection. This may include API endpoints that need to be called without a CSRF token.
128
123
@@ -141,6 +136,20 @@ user:
141
136
registrationNewVerificationURI: /user/request-new-verification-email.html # The URI for the request new verification email page.
142
137
updateUserURI: /user/update-user.html # The URI for the update user page.
require-uppercase: true # Require at least one uppercase character
145
+
require-lowercase: true # Require at least one lowercase character
146
+
require-digit: true # Require at least one digit
147
+
require-special: true # Require at least one special character
148
+
special-chars: "~`!@#$%^&*()_-+={}[]|\\:;\"'<>,.?/"# Allowed special characters
149
+
prevent-common-passwords: true # Prevent use of common passwords (dictionary check)
150
+
history-count: 3# Number of previous passwords to prevent reuse
151
+
similarity-threshold: 70# Percentage of similarity allowed with username/email
152
+
144
153
mail:
145
154
fromAddress: test@test.com # The from address for all emails sent by the application.
146
155
purgetokens:
@@ -171,4 +180,3 @@ user:
171
180
role-hierarchy: # Role hierarchy configuration section. This defines a hierarchy of roles, where a higher level role inherits all roles from a lower level role. The roles are defined in the roles-and-privileges section above.
0 commit comments