code: public void verifySamlProfileRequestIfNeeded(final RequestAbstractType profileRequest,
                                                   final SamlRegisteredServiceServiceProviderMetadataFacade adaptor,
                                                   final HttpServletRequest request,
                                                   final MessageContext context) throws Exception {
  
          verifySamlProfileRequestIfNeeded(profileRequest, adaptor.getMetadataResolver(), request, context);
      }
docs: Validate authn request signature.
  
  @param profileRequest the authn request
  @param adaptor        the adaptor
  @param request        the request
  @param context        the context
  @throws Exception the exception