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

Finalize the Download Command changes #203

Merged
merged 6 commits into from
Apr 13, 2017

Conversation

oleg-nenashev
Copy link
Member

@oleg-nenashev oleg-nenashev commented Apr 11, 2017

This PR finalizes #126, which includes #194 from @nightman68 and #195 from me.

  • Refactor the code
  • Switch unsecureAuth to the boolean flag, update docs
  • Make auth field case-insensitive
  • Add unit tests for the authentication functionality
  • Update configuration samples

@oleg-nenashev oleg-nenashev self-assigned this Apr 11, 2017
@oleg-nenashev oleg-nenashev added this to the winsw-2.1.0 milestone Apr 11, 2017
@oleg-nenashev
Copy link
Member Author

@nightman68 Ready for review. CC @reviewbybees just in case

@ghost
Copy link

ghost commented Apr 12, 2017

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

username="aUser" password=“aPassw0rd" />

Secure Basic authentication via HTTPS:
<download from="https://example.com/some.dat" to="%BASE%\some.dat"
auth="basic" username="aUser" password="aPassw0rd" />

Secure authentication when the target server and the client are members of domain:
Secure authentication when the target server and the client are members of the same domain:
Copy link
Contributor

@nightman68 nightman68 Apr 12, 2017

Choose a reason for hiding this comment

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

The membership in "the same" domain is normally not the constraint. When a forest trust is defined correctly it is also working.

Copy link
Member Author

Choose a reason for hiding this comment

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

Right. "of domain" does not seem the best wording as well. Could it be there a better clarification text?

Copy link
Contributor

Choose a reason for hiding this comment

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

Right .-) My proposal:
Secure authentication when the target server and the client are members of the same domain or the server domain and the client domain belong to the same forest with a trust.

Copy link
Member Author

Choose a reason for hiding this comment

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

updated

Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@oleg-nenashev
Copy link
Member Author

Seems it is ready to go

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

Successfully merging this pull request may close these issues.

3 participants