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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content