If it is spring security 2.x, there is AuthorityUtils.userHasAuthority(String authority)one that can be used to explicitly verify the role.
You can iterate through SecurityContextHolder.getContext().getAuthentication().getAuthorities()and make sure that you only allow the operation for the roles you want.