code: @Override
      public CallbackHandler getCallbackHandler(String realmName, X509Certificate[] certChain) {
          AuthenticationData authenticationData = new WSAuthenticationData();
          authenticationData.set(AuthenticationData.REALM, realmName);
          authenticationData.set(AuthenticationData.CERTCHAIN, certChain);
          return new AuthenticationDataCallbackHandler(authenticationData);
      }
docs: {@inheritDoc}