/** * Verify a UsernameToken containing a plaintext password. It does this by querying a * CallbackHandler instance to obtain a password for the given username, and then comparing * it against the received password. * This method currently uses the same LOG.c as the verifyDigestPassword case, but it in * a separate protected method to allow users to override the validation of the plaintext * password specific case. * @param usernameToken The UsernameToken instance to verify * @throws WSSecurityException on a failed authentication. */ protected void verifyPlaintextPassword(UsernameToken usernameToken, RequestData data) throws WSSecurityException { verifyDigestPassword(usernameToken, data); }
final RequestData data) throws WSSecurityException { super.verifyDigestPassword(usernameToken, data);
verifyDigestPassword(usernameToken, data); } else if (WSConstants.PASSWORD_TEXT.equals(pwType) || password != null && (pwType == null || "".equals(pwType.trim()))) {