1
0
mirror of synced 2026-05-22 13:23:17 +00:00

Polish DefaultHttpSecurityExpressionHandler

Issue gh-11105
This commit is contained in:
Josh Cummings
2022-10-05 15:57:02 -06:00
parent 4ddec07d0e
commit f16d47c7b5
@@ -90,7 +90,7 @@ public class DefaultHttpSecurityExpressionHandler extends AbstractSecurityExpres
* "ROLE_".
*/
public void setDefaultRolePrefix(String defaultRolePrefix) {
Assert.hasText(defaultRolePrefix, "defaultRolePrefix cannot be empty");
Assert.notNull(defaultRolePrefix, "defaultRolePrefix cannot be null");
this.defaultRolePrefix = defaultRolePrefix;
}