code: @Override
      public Subject authenticate(@Sensitive X509Certificate[] certificateChain) throws AuthenticationException {
          AuthenticationData authenticationData = createAuthenticationData(certificateChain);
          return authenticationService.authenticate(jaasEntryName, authenticationData, null);
      }
docs: Authenticate with certificate chain.
  
  @param certificateChain
  @return The authenticated subject.
  @throws AuthenticationException