hasAuthority

fun hasAuthority(authority: String): AuthorizationManager<in RequestAuthorizationContext>

Specify that URLs require a particular authority.

Return

the AuthorizationManager with the provided authority

Parameters

authority

the authority to require (i.e. ROLE_USER, ROLE_ADMIN, etc).