Uploaded image for project: 'PicketLink'
  1. PicketLink
  2. PLINK-628

Provide support for injecting Identity bean for web socket-based services

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Obsolete
    • Major
    • None
    • PLINK_2.6.0.CR5
    • BASE
    • None

    Description

      A typical websocket-based application may use a combination of REST and websocket endpoints, with the following security config for setting the identity state:

      builder
      .identity()
      .stateless()

      Unfortunately there is no such thing as request scope for a websockets message handler method, so attempting to inject the Identity bean results in the following exception:

      org.jboss.weld.context.ContextNotActiveException: WELD-001303: No active contexts for scope type javax.enterprise.context.RequestScoped

      Attachments

        Issue Links

          Activity

            People

              sbryzak@redhat.com Shane Bryzak
              sbryzak@redhat.com Shane Bryzak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: