code: protected RoleDescriptorResolver getRoleDescriptorResolver(final MetadataResolver resolver,
                                                                 final MessageContext context,
                                                                 final RequestAbstractType profileRequest) throws Exception {
          val idp = casProperties.getAuthn().getSamlIdp();
          return SamlIdPUtils.getRoleDescriptorResolver(resolver, idp.getMetadata().isRequireValidMetadata());
      }
docs: Gets role descriptor resolver.
  
  @param resolver       the resolver
  @param context        the context
  @param profileRequest the profile request
  @return the role descriptor resolver
  @throws Exception the exception