hmvictor / radar-netbeans

A SonarQube plugin for Netbeans
Other
33 stars 22 forks source link

Authentication not working #50

Open Frequence-xx opened 8 years ago

Frequence-xx commented 8 years ago

When trying to get issues from server, I try to authenticate with my username and password, but somehow the credentials get rejected. When I log into sonarqube with the same username and password I can get in. I must say I'm using sonarqube 5.6 might that be the problem?

sq

One other question: Will there be any new releases for the radar-plugin?

hmvictor commented 8 years ago

Hi @Frequence-xx

Do you still having problems with authentication?

Frequence-xx commented 8 years ago

Hi Victor,

Yes I'm still having problems with authentication. Do you know what might be the cause?

hmvictor commented 8 years ago

I have to do some testing and replicate the issue so I can have some ideas and fixes.

I hope I can give you an answer soon.

Thank you for your feedback.

Frequence-xx commented 8 years ago

thanks Victor. I must say I'm using sonarqube 5.6 might that be the problem?

hmvictor commented 8 years ago

And yes, I will be releasing new versions. Currently I am making changes to the plugin for working with SonarQube 6.0

hmvictor commented 8 years ago

I'm making some test with 5.6 and all works ok. In the screentshot I see that the server url contains your user. (edgar@). Could you try removing it?

Frequence-xx commented 8 years ago

When I remove the edgar@, it won't prompt me to sign in to the account. We have a sonar server installed in an external server, with different users and roles. I'm just a general user. Do I need to ask the admin to change some settings?

hmvictor commented 8 years ago

Currently, the authentication dialog is opened when SonarQube Server sends an error to indicate that authentication is needed. Only in this case Radar ask for credentials.

To force authentication in the Sonarqube Server.

Settings> Security > Force user authentication: True