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…
Reference in New Issue