hudson.scm.auth
Interface ISVNAuthenticationOutcomeListener


public interface ISVNAuthenticationOutcomeListener

Author:
Steven

Method Summary
 void acknowledgeAuthentication(boolean accepted, String kind, String realm, org.tmatesoft.svn.core.SVNErrorMessage errorMessage, org.tmatesoft.svn.core.auth.SVNAuthentication authentication)
          Accepts the given authentication if it was successfully accepted by a repository server, or not if authentication failed.
 

Method Detail

acknowledgeAuthentication

void acknowledgeAuthentication(boolean accepted,
                               String kind,
                               String realm,
                               org.tmatesoft.svn.core.SVNErrorMessage errorMessage,
                               org.tmatesoft.svn.core.auth.SVNAuthentication authentication)
                               throws org.tmatesoft.svn.core.SVNException
Accepts the given authentication if it was successfully accepted by a repository server, or not if authentication failed. As a result the provided credential may be cached (authentication succeeded) or deleted from the cache (authentication failed).

Parameters:
accepted - true if the credential was accepted by the server, otherwise false
kind - a credential kind (#PASSWORD or #SSH or #USERNAME)
realm - a repository authentication realm
errorMessage - the reason of the authentication failure
authentication - a user credential to accept/drop
Throws:
org.tmatesoft.svn.core.SVNException


Copyright © 2004-2013 Hudson. All Rights Reserved.