core/src/main/java/org/springframework/security/authorization/AuthorityReactiveAuthorizationManager.java
public static <T> AuthorityReactiveAuthorizationManager<T> hasRole(String role) {
		Assert.notNull(role, "role cannot be null");
		return hasAuthority("ROLE_" + role);
	}
public static <T> AuthorityReactiveAuthorizationManager<T> hasRole(String role) {
		Assert.notNull(role, "role cannot be null");
		return hasAuthority("ROLE_" + role);
	}
public static < T > AuthorityReactiveAuthorizationManager < T > hasRole ( String role ) { Assert . notNull ( role , "role cannot be null" ) ; return hasAuthority ( "ROLE_" + role ) ; }
Creates an instance of {@link AuthorityReactiveAuthorizationManager} with the
provided authority.

@param role the authority to check for prefixed with "ROLE_"
@param <T> the type of object being authorized
@return the new instance
Creates an instance of { @link AuthorityReactiveAuthorizationManager } with the provided authority .