CXF JAX-RS based camel endpoint is unable to honor declarative annotation based security,@RolesAllowed

Solution Verified - Updated -

Issue

  • CXF JAX-RS based camel endpoint is unable to honor declarative annotation based security
    When we specify @RollsAllowed, @DenyAll etc . it seems like these are not being checked for Security.
  • @RolesAllowed annotation doesn't work with JAAS (karaf and CXF)

Environment

  • Red Hat JBoss Fuse
    • 6.1.x
  • Apache CXF

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