Is there an abstract method to authenticate against a PDC/BDC and get a boolean value as it return? Something like: boolean canIProceed = NTLMAuthenticator.authenticate("username","password","pdcname","bdcname"); if(canIProceed) { System.out.println("I authenticated successfuly!"); } else { System.out.println("The PDC/BDC rejected your login"); }