code: public void unregisterAuthenticationListener(String realm) {
          if (realm != null && !realm.isEmpty()) {
              challengeHandlers.remove(realm);
          }
      }
docs: Unregisters authentication listener
  
  @param realm the realm the listener was registered for