Class GrantedAuthorityDefaults
java.lang.Object
org.springframework.security.config.core.GrantedAuthorityDefaults
Allows providing defaults for
GrantedAuthority
- Since:
- 4.2.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe default prefix used with role based authorization.
-
Constructor Details
-
GrantedAuthorityDefaults
-
-
Method Details
-
getRolePrefix
The default prefix used with role based authorization. Default is "ROLE_".- Returns:
- the default role prefix
-