Receiving error "The Password Type is not allowed to be namespace qualified"

Solution Verified - Updated -

Issue

  • We have a web service annotated with @EndpointProperty(key=WSHandlerConstants.ALLOW_NAMESPACE_QUALIFIED_PASSWORD_TYPES, value="true", but we are getting the following error: An error happened processing a Username Token: "The Password Type is not allowed to be namespace qualified"
  • ALLOW_NAMESPACE_QUALIFIED_PASSWORD_TYPES annotation is being ignored
  • allowNamespaceQualifiedPasswordTypes is not read from contextual properties before create wss4j UsernameToken

Environment

  • Red Hat JBoss Enterprise Application Platform (JBoss EAP)
    • 7.1.4
  • CXF
    • 3.1.18
    • 3.2.8
    • 3.3.0

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In