Skip to content

Conversation

@yufeldman
Copy link

Essentially reusing Authentication (AuthenticationFilter with some variation) provided by Hadoop


@Inject
public MyriadWebServer(Server jetty, Connector connector, GuiceFilter filter) {
public MyriadWebServer(Server jetty, Connector connector, GuiceFilter filter, MyriadConfiguration myriadConf) {
Copy link
Contributor

Choose a reason for hiding this comment

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

If all we're using is isSecurityEnabled maybe just pass a boolean, if you think we'll need more of the config later leave it.

Copy link
Author

Choose a reason for hiding this comment

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

for now it is only for boolean, but we may need more from config later. WOuld be a pain to redo

Copy link
Contributor

Choose a reason for hiding this comment

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

Then leave it.

mesosMaster: 10.0.2.15:5050
haEnabled: false
checkpoint: false
isSecurityEnabled: false
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe add to src/main/resources/myriad-default-config for a minimal documentation.

Copy link
Author

Choose a reason for hiding this comment

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

yeah - good point, will do

Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to docs, so users have a clue how to enable this and what it means.

@DarinJ
Copy link
Contributor

DarinJ commented Nov 3, 2016

Looks good but haven't tested, if you're comfortable then merge away!

@yufeldman
Copy link
Author

Thank you Darrin, I would like somebody outside to test it. I did test it on MapR distro, will try to test with SPNEGO, but it is hard for me to test with other distros

@DarinJ
Copy link
Contributor

DarinJ commented Nov 4, 2016

I can do some tests early to mid next week, unfortunately I'm swamped tomorrow.

@yufeldman
Copy link
Author

Updated default value in myriad-config-default.yml. For some reason Travis is not triggering the build

@yufeldman
Copy link
Author

@DarinJ - wonder if you have more comments to this PR?

@DarinJ
Copy link
Contributor

DarinJ commented Nov 9, 2016

@yufeldman Nope - I'm behind on some other items so haven't been able to test yet. Hopefully will get to it tonight/tomorrow.

@DarinJ
Copy link
Contributor

DarinJ commented Jan 3, 2017

Tested a bit, seemed OK, had to add user:password@ to the URI's for binary dist and config if using myriad to distribute.

Copy link
Contributor

@adam-mesos adam-mesos left a comment

Choose a reason for hiding this comment

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

Looks promising, but I didn't review the tests in detail.

*/
public static final Boolean DEFAULT_HA_ENABLED = false;

public static final Boolean DEFAULT_SECURITY_ENABLED = false;
Copy link
Contributor

Choose a reason for hiding this comment

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

DEFAULT_AUTHENTICATION_ENABLED or DEFAULT_AUTH_ENABLED? "Security" is too vague, since encryption, authorization, and isolation are all parts of "security".

mesosMaster: 10.0.2.15:5050
haEnabled: false
checkpoint: false
isSecurityEnabled: false
Copy link
Contributor

Choose a reason for hiding this comment

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

+1 to docs, so users have a clue how to enable this and what it means.

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.

3 participants