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
fix #1247, add authentication for UI #1857
Conversation
} else if (guests.contains(user)) { | ||
new Result(verify(user, password, guests), isAdministrator = false) | ||
} else { | ||
new Result(authenticated = false, isAdministrator = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think user has higher privilege than guest. So, what expect to be the else case for "!admin && !guest"? If only authenticated person is able to access the system, then I'd suggest change "guest" to "user".
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, I don't think so. Guest means there is no permission to modify.
3f767ca
to
562bd9f
Compare
maxAgeSeconds = 3600 | ||
encryptData = true | ||
} | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will akka.session still be used if security.ui-authentication-enabled = false?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It will not.
If security.ui-authentication-enabled is false, then it behave same as 0.7.3
+1 although I have not tested in CDH environment. @clockfly if you merge then let me test in CDH environment before you tag 0.7.4. Thanks. |
Build failed under 2.10
|
edb07af
to
aab877c
Compare
@kkasravi |
5d9cbc9
to
f569baf
Compare
Current coverage is
|
fix #1247, add authentication for UI
Add authentication for UI dashboard.