Skip to content

[Security] remove deprecated HTTP digest auth key #16719

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

Merged
merged 1 commit into from
Nov 28, 2015

Conversation

xabbuh
Copy link
Member

@xabbuh xabbuh commented Nov 28, 2015

Q A
Bug fix? no
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets
License MIT
Doc PR

@@ -78,7 +78,7 @@ public function handle(GetResponseEvent $event)
}

try {
$digestAuth->validateAndDecode($this->authenticationEntryPoint->getKey(), $this->authenticationEntryPoint->getRealmName());
$digestAuth->validateAndDecode($this->authenticationEntryPoint->getSecret(), $this->authenticationEntryPoint->getRealmName());
Copy link
Member Author

Choose a reason for hiding this comment

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

We do not seem to have tests covering this. But they would need to be added in older versions.

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 should make this change on 2.8 as well, right?

@wouterj
Copy link
Member

wouterj commented Nov 28, 2015

👍 Status: reviewed

@xabbuh
Copy link
Member Author

xabbuh commented Nov 28, 2015

Looks like we should remove the config option for this in the SecurityBundle too.

@xabbuh xabbuh force-pushed the security-remove-deprecated-method branch from d47b2d0 to 812396d Compare November 28, 2015 09:31
@xabbuh xabbuh changed the title [Security] remove deprecated getKey() method [Security] remove deprecated HTTP digest auth key Nov 28, 2015
@fabpot
Copy link
Member

fabpot commented Nov 28, 2015

Thank you @xabbuh.

@fabpot fabpot merged commit 812396d into symfony:master Nov 28, 2015
fabpot added a commit that referenced this pull request Nov 28, 2015
…buh)

This PR was merged into the 3.0-dev branch.

Discussion
----------

[Security] remove deprecated HTTP digest auth key

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets |
| License       | MIT
| Doc PR        |

Commits
-------

812396d [Security] remove deprecated HTTP digest auth key
@xabbuh xabbuh deleted the security-remove-deprecated-method branch November 28, 2015 10:32
@fabpot fabpot mentioned this pull request Nov 30, 2015
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.

4 participants