Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork9.7k
[Security] Replace serialization API#30052
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
nicolas-grekas left a comment
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.
Looks great thanks. Here are some minor comments.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
src/Symfony/Component/Security/Core/Exception/AuthenticationException.php OutdatedShow resolvedHide resolved
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas commentedFeb 1, 2019
Don't forget to update UPGRADE-4.3 and the CHANGELOG of the component also! |
nicolas-grekas commentedFeb 1, 2019
it does not actually so there is no BC break (and serialized payloads are kept compatible) - the PR description should be updated. |
Uh oh!
There was an error while loading.Please reload this page.
nicolas-grekas left a comment
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.
(with one minor comment)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
chalasr left a comment• edited
Loading Uh oh!
There was an error while loading.Please reload this page.
edited
Uh oh!
There was an error while loading.Please reload this page.
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.
once remaining comments addressed
Uh oh!
There was an error while loading.Please reload this page.
xabbuh commentedFeb 7, 2019
@renanbr Looks like this PR needs a rebase as it contains unrelated changes now. |
xabbuh left a comment
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.
LGTM
nicolas-grekas commentedFeb 7, 2019
Thank you@renanbr. |
This PR was merged into the 4.3-dev branch.Discussion----------[Security] Replace serialization API| Q | A| ------------- | ---| Branch? | master| Bug fix? | no| New feature? | no| BC breaks? | no| Deprecations? | yes| Tests pass? | yes| Fixed tickets | n/a| License | MIT| Doc PR | n/aNew `getState()` and `setState()` methods in `AbstractToken` and `AuthenticationException` allow users to append data to the serialization payload.It allow us to have zero impact in user land when changing the serialization engine.Commits-------006c6dd makes serialize methods final
Uh oh!
There was an error while loading.Please reload this page.
New
getState()andsetState()methods inAbstractTokenandAuthenticationExceptionallow users to append data to the serialization payload.It allow us to have zero impact in user land when changing the serialization engine.