Class SVNUserNameAuthentication


  • public class SVNUserNameAuthentication
    extends SVNAuthentication
    The SVNUserNameAuthentication class represents a simple authentication credential class that uses only a username to authenticate a user. Used along with the ISVNAuthenticationManager.USERNAME credential kind.
    Since:
    1.2
    Version:
    1.3
    Author:
    TMate Software Ltd.
    • Method Detail

      • newInstance

        public static SVNUserNameAuthentication newInstance​(java.lang.String userName,
                                                            boolean storageAllowed,
                                                            SVNURL url,
                                                            boolean isPartial)
        Creates a username authentication credential.
        Parameters:
        userName - a user name
        storageAllowed - if true then this credential is allowed to be stored in the global auth cache, otherwise not
        url - url these credentials are applied to
        Since:
        1.8.9