@Override public void acknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage errorMessage, SVNAuthentication authentication) throws SVNException { realms[0] = realm; super.acknowledgeAuthentication(accepted, kind, realm, errorMessage, authentication); } });
@Override public void acknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage errorMessage, SVNAuthentication authentication) throws SVNException { if (outcomeListener != null) outcomeListener.acknowledgeAuthentication(accepted, kind, realm, errorMessage, authentication); super.acknowledgeAuthentication(accepted, kind, realm, errorMessage, authentication); } /* (non-Javadoc)
@Override public void acknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage errorMessage, SVNAuthentication authentication) throws SVNException { authenticationAcknowledged = true; if (accepted) { assert cred != null; onSuccess(realm,cred); } else { logWriter.println("Failed to authenticate: " + errorMessage); if (errorMessage.getCause() != null) errorMessage.getCause().printStackTrace(logWriter); } super.acknowledgeAuthentication(accepted, kind, realm, errorMessage, authentication); }
@Override public void acknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage errorMessage, SVNAuthentication authentication) throws SVNException { authenticationAcknowledged = true; if (accepted) { assert cred != null; onSuccess(realm, cred,overrideGlobal); } else { logWriter.println("Failed to authenticate: " + errorMessage); if (errorMessage.getCause() != null) { errorMessage.getCause().printStackTrace(logWriter); } } super.acknowledgeAuthentication(accepted, kind, realm, errorMessage, authentication); }
/** * This method has been deprecated as of hudson 2.2.0. This is for support for only old versions of svnkit where * overriding acknowledgeAuthentication needed to be overriden. * */ @Override @Deprecated public void acknowledgeAuthentication(boolean accepted, String kind, String realm, SVNErrorMessage errorMessage, SVNAuthentication authentication) throws SVNException { authenticationAcknowledged = true; if (accepted) { assert cred != null; onSuccess(realm, cred,overrideGlobal); } else { logWriter.println("Failed to authenticate: " + errorMessage); if (errorMessage.getCause() != null) { errorMessage.getCause().printStackTrace(logWriter); } } super.acknowledgeAuthentication(accepted, kind, realm, errorMessage, authentication); }