New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CVS authentication does not work properly #179

Closed
jutzig opened this Issue Jan 27, 2014 · 1 comment

Comments

Projects
None yet
1 participant
@jutzig
Owner

jutzig commented Jan 27, 2014

When entering a username but not a password because the authorization is ssh based, team operations fail with the following exception:

org.jabylon.common.team.TeamProviderException: Update failed
    at org.jabylon.team.cvs.impl.CVSTeamProvider.update(CVSTeamProvider.java:266) ~[na:na]
    at org.jabylon.rest.ui.wicket.config.sections.ProjectVersionsConfigSection$2.run(ProjectVersionsConfigSection.java:138) ~[na:na]
    at org.jabylon.scheduler.internal.RunnableWithProgressWrapper.run(RunnableWithProgressWrapper.java:36) ~[org.jabylon.scheduler-1.0.0.jar:na]
    at org.jabylon.scheduler.internal.JabylonJob.execute(JabylonJob.java:79) ~[org.jabylon.scheduler-1.0.0.jar:na]
    at org.quartz.core.JobRunShell.run(JobRunShell.java:213) [quartz.jar:na]
    at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:557) [quartz.jar:na]
org.netbeans.lib.cvsclient.connection.AuthenticationException: null
    at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:141) ~[na:na]
    at org.netbeans.lib.cvsclient.Client$1.run(Client.java:374) ~[na:na]
    at java.lang.Thread.run(Thread.java:722) ~[na:1.7.0_13]
Caused by: com.jcraft.jsch.JSchException: Auth cancel
    at com.jcraft.jsch.Session.connect(Session.java:451) ~[na:na]
    at com.jcraft.jsch.Session.connect(Session.java:150) ~[na:na]
    at org.netbeans.lib.cvsclient.connection.SSHConnection.open(SSHConnection.java:139) ~[na:na]
    ... 2 common frames omitted

@ghost ghost assigned jutzig Jan 27, 2014

@jutzig

This comment has been minimized.

Owner

jutzig commented Jan 27, 2014

fixed in CVS plugin. This still needs to be checked in a productive environment though. The fix will make sure that a password will not be set on the connection if none was set. That doesn't necessarily mean the CVS lib is ok with it.

@jutzig jutzig closed this Jan 27, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment