Uploaded image for project: 'JBoss Web Services'
  1. JBoss Web Services
  2. JBWS-2211

Provide a UsernameToken sample with custom handlers

    XMLWordPrintable

Details

    Description

      The client side wsse metro configuration uses policies like this:
      <wsp:Policy wsu:Id="ClientKeystorePolicy"
      xmlns:sc="http://schemas.sun.com/2006/03/wss/client">
      <wsp:ExactlyOne>
      <wsp:All>
      <sc:CallbackHandlerConfiguration>
      <sc:CallbackHandler name="usernameHandler" default="kermit"/>
      <sc:CallbackHandler name="passwordHandler" default="thefrog"/>
      </sc:CallbackHandlerConfiguration>
      </wsp:All>
      </wsp:ExactlyOne>
      </wsp:Policy>

      We should provide at least an example showing how to leverage custom callback handler; for instance these might use the username/password configured in the context the same way we do for native stack.

      Attachments

        Activity

          People

            rhn-support-asoldano Alessio Soldano
            rhn-support-asoldano Alessio Soldano
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: