Uploaded image for project: 'Rampart'
  1. Rampart
  2. RAMPART-361

Rampart can not accept Username token which is generated from WCF client. Due to name space qualified password type attribute in username token

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 1.6.0
    • None
    • rampart-core
    • None
    • VS 2010

    Description

      Error

      Caused by: org.apache.ws.security.WSSecurityException: An invalid security token was provided (Bad UsernameToken Values)
      at org.apache.ws.security.message.token.UsernameToken.<init>(UsernameToken.java:182)
      at org.apache.ws.security.processor.UsernameTokenProcessor.handleUsernameToken(UsernameTokenProcessor.java:96)

      This is generated in WSS4j . "allowNamespaceQualifiedPasswordTypes" property in WSSConfig object that is handover to "UsernameToken" class ; is false. But for the username token that is generated from WCF client, that property must be true. Therefore i hope it must be handle at rampart level

      Attachments

        1. RAMPART-361.patch
          0.7 kB
          asela pathberiya

        Activity

          People

            Unassigned Unassigned
            asela asela pathberiya
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: