Skip to content
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

[JBIDE-15847] using username reported by server, not the user provided #288

Merged
merged 1 commit into from
Nov 14, 2013

Conversation

adietish
Copy link
Member

@adietish adietish commented Nov 4, 2013

No description provided.

@@ -264,6 +262,11 @@ public void update(Connection connection) {
setUser(connection.getUser());
}

private String updateUsername(IUser user) {
this.username = user.getRhlogin();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

and we are 100% certain this login actually is never ever null/empty ?

And how about comparing if they are different and if they are, log an info/warning that "OpenShift connection to was allowed with , but the actual username logged in is . Will use instead of . This can sometime happens on servers, but if this is not expected report it to the admin of " ?

@adietish adietish merged commit 1cbfc50 into jbosstools:master Nov 14, 2013
@adietish adietish deleted the JBIDE-15847-42 branch November 14, 2013 19:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants