Security

Token

umk_login_api Username
Authenticated
Property Value
Roles
[
  "ROLE_USER"
  "ROLE_SULU_API"
]
Inherited Roles none
Token
Lexik\Bundle\JWTAuthenticationBundle\Security\Authenticator\Token\JWTPostAuthenticationToken {#2848
  -user: Sulu\Bundle\SecurityBundle\Entity\User {#2835 …}
  -roleNames: [
    "ROLE_USER"
    "ROLE_SULU_API"
  ]
  -attributes: []
  -firewallName: "api"
  -token: "pacopaco"
}

Firewall

api Name
Security enabled
Stateless

Configuration

Key Value
provider sulu_security.user_provider
context (none)
entry_point security.authenticator.jwt.api
user_checker security.user_checker
access_denied_handler (none)
access_denied_url (none)
authenticators
[
  "jwt"
]

Listeners

Listener Duration Response
Symfony\Component\Security\Http\Firewall\ChannelListener {#2677
  -map: Symfony\Component\Security\Http\AccessMap {#2678 …}
  -logger: Symfony\Bridge\Monolog\Logger {#2732 …}
  -httpPort: 80
  -httpsPort: 443
}
0.00 ms (none)
Symfony\Component\Security\Http\Firewall\AuthenticatorManagerListener {#2723
  -authenticatorManager: Symfony\Component\Security\Http\Authentication\AuthenticatorManager {#2713 …}
}
17.76 ms (none)
Symfony\Component\Security\Http\Firewall\AccessListener {#2726
  -tokenStorage: Symfony\Component\Security\Core\Authentication\Token\Storage\UsageTrackingTokenStorage {#1568 …}
  -accessDecisionManager: Symfony\Component\Security\Core\Authorization\TraceableAccessDecisionManager {#1563 …}
  -map: Symfony\Component\Security\Http\AccessMap {#2678 …}
}
0.55 ms (none)

Authenticators

Authenticator Supports Duration Passport
"App\Security\JWTCustomApiAuthenticator"
0.23 ms
Symfony\Component\Security\Http\Authenticator\Passport\SelfValidatingPassport {#2746
  #user: Sulu\Bundle\SecurityBundle\Entity\User {#2835 …}
  -badges: [
    "Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge" => Symfony\Component\Security\Http\Authenticator\Passport\Badge\UserBadge {#2742
      -userIdentifier: "umk_login_api"
      -userLoader: Closure($userIdentifier) {#2739 …}
      -user: Sulu\Bundle\SecurityBundle\Entity\User {#2835 …}
      -attributes: null
    }
  ]
  -attributes: [
    "payload" => [
      "iat" => 1710407228
      "exp" => 1710410828
      "roles" => [
        "ROLE_USER"
        "ROLE_SULU_API"
      ]
      "username" => "umk_login_api"
    ]
    "token" => "pacopaco"
  ]
}

Access Decision

unanimous Strategy
# Voter class
1
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
2
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
3
"Symfony\Component\Security\Core\Authorization\Voter\RoleVoter"
4
"Symfony\Component\Security\Core\Authorization\Voter\ExpressionVoter"
5
"Sulu\Component\Security\Authorization\SecurityContextVoter"

Access decision log

# Result Attributes Object
1 GRANTED IS_AUTHENTICATED_FULLY
Symfony\Component\HttpFoundation\Request {#29
  +attributes: Symfony\Component\HttpFoundation\ParameterBag {#23 …}
  +request: Symfony\Component\HttpFoundation\InputBag {#28 …}
  +query: Symfony\Component\HttpFoundation\InputBag {#24 …}
  +server: Symfony\Component\HttpFoundation\ServerBag {#39 …}
  +files: Symfony\Component\HttpFoundation\FileBag {#20 …}
  +cookies: Symfony\Component\HttpFoundation\InputBag {#22 …}
  +headers: Symfony\Component\HttpFoundation\HeaderBag {#40 …}
  #content: ""
  #languages: null
  #charsets: null
  #encodings: null
  #acceptableContentTypes: null
  #pathInfo: "/api/news"
  #requestUri: "/api/news?locale=en&page=1&limit=9&types[0]=default&types[1]=article&types[2]=notice&types[3]=announcement&types[4]=rating&categories=7"
  #baseUrl: ""
  #basePath: null
  #method: "GET"
  #format: null
  #session: Symfony\Component\HttpFoundation\Session\Session {#4259 …}
  #locale: "es"
  #defaultLocale: "es"
  -preferredFormat: null
  -isHostValid: true
  -isForwardedValid: true
  -isIisRewrite: false
  basePath: ""
  format: "html"
}
"Symfony\Component\Security\Core\Authorization\Voter\AuthenticatedVoter"
attribute IS_AUTHENTICATED_FULLY ACCESS GRANTED
"Scheb\TwoFactorBundle\Security\Authorization\Voter\TwoFactorInProgressVoter"
attribute IS_AUTHENTICATED_FULLY ACCESS ABSTAIN
"Sulu\Component\Security\Authorization\SecurityContextVoter"
attribute IS_AUTHENTICATED_FULLY ACCESS ABSTAIN
Show voter details