mirror of
https://github.com/spring-projects/spring-security.git
synced 2025-03-03 03:49:09 +00:00
Polish DefaultHttpSecurityExpressionHandler
Issue gh-11105
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user