spring-security Kotlin API
Toggle table of contents
7.1.0-RC1
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
spring-security Kotlin API
spring-security-config
/
org.springframework.security.config.web.server
/
AuthorizeExchangeDsl
/
hasRole
has
Role
fun
hasRole
(
role
:
String
)
:
ReactiveAuthorizationManager
<
AuthorizationContext
>
Require a specific role. This is a shortcut for
hasAuthority
.