/** * Creates an auth manager given user credentials to use. * * @param authentications user credentials */ public BasicAuthenticationManager(SVNAuthentication[] authentications) { setAuthentications(authentications); }
/** * Creates an auth manager given user credentials to use. * * @param authentications user credentials */ public BasicAuthenticationManager(SVNAuthentication[] authentications) { setAuthentications(authentications); }
/** * Creates an auth manager given user credentials to use. * * @param authentications user credentials */ public BasicAuthenticationManager(SVNAuthentication[] authentications) { setAuthentications(authentications); }
/** * Creates an auth manager given user credentials to use. * * @param authentications user credentials */ public BasicAuthenticationManager(SVNAuthentication[] authentications) { setAuthentications(authentications); }
/** * Creates an auth manager given a user credential - a username and * an ssh private key. * * @param userName a username * @param keyFile a private key file * @param passphrase a password to the private key * @param portNumber a port number over which an ssh tunnel is established */ public BasicAuthenticationManager(String userName, File keyFile, String passphrase, int portNumber) { setAuthentications(new SVNAuthentication[] { new SVNSSHAuthentication(userName, keyFile, passphrase, portNumber, false, null, false), new SVNUserNameAuthentication(userName, false, null, false), }); }
/** * Creates an auth manager given a user credential - a username and * an ssh private key. * * @param userName a username * @param keyFile a private key file * @param passphrase a password to the private key * @param portNumber a port number over which an ssh tunnel is established */ public BasicAuthenticationManager(String userName, File keyFile, String passphrase, int portNumber) { setAuthentications(new SVNAuthentication[] { new SVNSSHAuthentication(userName, keyFile, passphrase, portNumber, false, null, false), new SVNUserNameAuthentication(userName, false, null, false), }); }
/** * Creates an auth manager given a user credential - a username and * an ssh private key. * * @param userName a username * @param keyFile a private key file * @param passphrase a password to the private key * @param portNumber a port number over which an ssh tunnel is established */ public BasicAuthenticationManager(String userName, File keyFile, String passphrase, int portNumber) { setAuthentications(new SVNAuthentication[] { new SVNSSHAuthentication(userName, keyFile, passphrase, portNumber, false), new SVNUserNameAuthentication(userName, false), }); }
/** * Creates an auth manager given a user credential - a username * and password. * * @param userName a username * @param password a password */ public BasicAuthenticationManager(String userName, String password) { setAuthentications(new SVNAuthentication[] { new SVNPasswordAuthentication(userName, password, false, null, false), new SVNSSHAuthentication(userName, password, -1, false, null, false), new SVNUserNameAuthentication(userName, false, null, false), }); }
/** * Creates an auth manager given a user credential - a username * and password. * * @param userName a username * @param password a password */ public BasicAuthenticationManager(String userName, String password) { setAuthentications(new SVNAuthentication[] { new SVNPasswordAuthentication(userName, password, false, null, false), new SVNSSHAuthentication(userName, password, -1, false, null, false), new SVNUserNameAuthentication(userName, false, null, false), }); }
/** * Creates an auth manager given a user credential - a username * and password. * * @param userName a username * @param password a password */ public BasicAuthenticationManager(String userName, String password) { setAuthentications(new SVNAuthentication[] { new SVNPasswordAuthentication(userName, password, false), new SVNSSHAuthentication(userName, password, -1, false), new SVNUserNameAuthentication(userName, false), }); }