code: public static RoleDescriptorResolver getRoleDescriptorResolver(final SamlRegisteredServiceServiceProviderMetadataFacade adaptor,
                                                                     final boolean requireValidMetadata) throws Exception {
          return getRoleDescriptorResolver(adaptor.getMetadataResolver(), requireValidMetadata);
      }
docs: Gets role descriptor resolver.
  
  @param adaptor              the adaptor
  @param requireValidMetadata the require valid metadata
  @return the role descriptor resolver
  @throws Exception the exception