Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[Security] Added debug:firewall command#14982

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

Merged
wouterj merged 1 commit intosymfony:5.xfromTimoBakx:debug-firewall-command
Feb 19, 2021
Merged

[Security] Added debug:firewall command#14982

wouterj merged 1 commit intosymfony:5.xfromTimoBakx:debug-firewall-command
Feb 19, 2021

Conversation

@TimoBakx
Copy link
Member

Documentation forsymfony/symfony#39326

@OskarStarkOskarStark added this to the5.3 milestoneFeb 14, 2021
@OskarStarkOskarStark added Status: Needs Review Waiting Code MergeDocs for features pending to be merged and removed Status: Needs Work labelsFeb 14, 2021
@carsonbotcarsonbot modified the milestones:5.3,nextFeb 14, 2021
wouterj added a commit to symfony/symfony that referenced this pull requestFeb 19, 2021
This PR was merged into the 5.3-dev branch.Discussion----------[Security] Added debug:firewall command| Q             | A| ------------- | ---| Branch?       | 5.x| Bug fix?      | no| New feature?  | yes| Deprecations? | no| Tickets       |Fix#39321| License       | MIT| Doc PR        |symfony/symfony-docs#14982| Tags | #SymfonyHackday### Subtasks- [x] Add list view (for use without arguments)- [x] Add more information to list view- [x] Add detail view (for use with `firewall` argument)- [x] Add more information to detail view table- [x] Add authenticators list- [x] Add event listeners & events (copy from `debug:event-listener`)- [x] Add `--include-listeners` option (default: false)- [x] Add helptext- [x] Add documentation### Moved outside of current scope- Add allowed badges### Usage (and example output) for a list`bin/console debug:firewall````Firewalls========= The following firewalls are defined: --------  Name --------  dev  public  main -------- // To view details of a specific firewall, re-run this command with a firewall name. (e.g. debug:firewall // main)```### Usage (and example output) for details`bin/console debug:firewall main````Firewall "main"=============== ----------------------- ---------------------------------------------------  Option                  Value ----------------------- ---------------------------------------------------  Name                    main  Context                 main  Lazy                    Yes  Stateless               No  User Checker            security.user_checker  Provider                security.user.provider.concrete.app_user_provider  Entry Point             App\Security\LoginFormAuthenticator  Access Denied URL  Access Denied Handler ----------------------- ---------------------------------------------------User switching-------------- ----------- ---------------------------------------------------  Option      Value ----------- ---------------------------------------------------  Parameter   test  Provider    security.user.provider.concrete.app_user_provider  User Role   ROLE_SWITCH_POSSIBLE ----------- ---------------------------------------------------Event listeners for firewall "main"==================================="Symfony\Component\Security\Http\Event\LoginSuccessEvent" event--------------------------------------------------------------- ------- -------------------------------------------------------------------------------------------- ----------  Order   Callable                                                                                     Priority ------- -------------------------------------------------------------------------------------------- ----------#1      Symfony\Component\Security\Http\EventListener\UserCheckerListener::postCheckCredentials()    256#2      Symfony\Component\Security\Http\EventListener\SessionStrategyListener::onSuccessfulLogin()   0#3      Symfony\Component\Security\Http\EventListener\RememberMeListener::onSuccessfulLogin()        0#4      App\Security\UpdateLastLogin::__invoke()                                                     0#5      Symfony\Component\Security\Http\EventListener\PasswordMigratingListener::onLoginSuccess()    0 ------- -------------------------------------------------------------------------------------------- ----------"Symfony\Component\Security\Http\Event\LogoutEvent" event--------------------------------------------------------- ------- ------------------------------------------------------------------------------------------- ----------  Order   Callable                                                                                    Priority ------- ------------------------------------------------------------------------------------------- ----------#1      Symfony\Component\Security\Http\EventListener\DefaultLogoutListener::onLogout()             64#2      Symfony\Component\Security\Http\EventListener\SessionLogoutListener::onLogout()             0#3      Symfony\Component\Security\Http\EventListener\RememberMeLogoutListener::onLogout()          0#4      Symfony\Component\Security\Http\EventListener\CsrfTokenClearingLogoutListener::onLogout()   0 ------- ------------------------------------------------------------------------------------------- ----------"Symfony\Component\Security\Http\Event\CheckPassportEvent" event---------------------------------------------------------------- ------- ------------------------------------------------------------------------------------------ ----------  Order   Callable                                                                                   Priority ------- ------------------------------------------------------------------------------------------ ----------#1      Symfony\Component\Security\Http\EventListener\LoginThrottlingListener::checkPassport()     2080#2      Symfony\Component\Security\Http\EventListener\UserProviderListener::checkPassport()        2048#3      Symfony\Component\Security\Http\EventListener\UserProviderListener::checkPassport()        1024#4      Symfony\Component\Security\Http\EventListener\CsrfProtectionListener::checkPassport()      512#5      Symfony\Component\Security\Http\EventListener\UserCheckerListener::preCheckCredentials()   256#6      App\Security\DisallowBannedUsers::__invoke()                                               0#7      Symfony\Component\Security\Http\EventListener\CheckCredentialsListener::checkPassport()    0 ------- ------------------------------------------------------------------------------------------ ----------"Symfony\Component\Security\Http\Event\LoginFailureEvent" event--------------------------------------------------------------- ------- ----------------------------------------------------------------------------------- ----------  Order   Callable                                                                            Priority ------- ----------------------------------------------------------------------------------- ----------#1      Symfony\Component\Security\Http\EventListener\RememberMeListener::onFailedLogin()   0 ------- ----------------------------------------------------------------------------------- ----------Authenticators for firewall "main"================================== //@todo: List authenticator information```Commits-------a9dea1d [Security] Added debug:firewall command
@wouterjwouterj removed the Waiting Code MergeDocs for features pending to be merged labelFeb 19, 2021
@wouterj
Copy link
Member

Thanks again :)

@wouterjwouterj merged commit6615f1c intosymfony:5.xFeb 19, 2021
@TimoBakxTimoBakx deleted the debug-firewall-command branchMarch 2, 2021 16:37
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@OskarStarkOskarStarkOskarStark approved these changes

Assignees

No one assigned

Projects

None yet

Milestone

next

Development

Successfully merging this pull request may close these issues.

4 participants

@TimoBakx@wouterj@OskarStark@carsonbot

[8]ページ先頭

©2009-2025 Movatter.jp