Skip to content

SVN setAuthenticationForced breaks default authentication #17

@maiflai

Description

@maiflai

Hi,

I access our SVN repository over HTTPS, but unfortunately it seems that my credentials are not used when attempting to create the new tag.

I intend to use default authentication and therefore have not specified a username or password:

release {
  scm = 'svn'
}

I think that http://issues.tmatesoft.com/issue/SVNKIT-457 has been triggered. SVNKit attempts to load credentials for the incorrect realm, and fails.

Unfortunately the SVNKit CLI doesn't seem to support forced authentication, and therefore I manually created an appropriate file in config/auth/svn.simple/ which allowed authentication to succeed.

Has anyone else reported this?

Is it ok to remove the use of setAuthenticationForced here, as it doesn't seem to actually force the validation of credentials?

Thanks,
Stu.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions