Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
  * ====================================================================
  * Copyright (c) 2004-2006 TMate Software Ltd.  All rights reserved.
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution.  The terms
  * are also available at
  * If newer versions of this license are posted there, you may use a
  * newer version instead, at your option.
 * ====================================================================
package org.tmatesoft.svn.core.auth;

The SVNPasswordAuthentication class represents a simple user credential pair - a username and password.

To obtain a password credential, specify the PASSWORD kind to credentials getter method of ISVNAuthenticationManager: getFirstAuthentication(), getNextAuthentication().

TMate Software Ltd.
    private String myPassword;
Creates a password user credential object given a username and password.

userName the name of a user to authenticate
password the user's password
storageAllowed if true then this credential is allowed to be stored in the global auth cache, otherwise not
    public SVNPasswordAuthentication(String userNameString passwordboolean storageAllowed) {
         = password == null ? "" : password;
Returns this user credential's password.

the user's password
    public String getPassword() {
        return ;
New to GrepCode? Check out our FAQ X