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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.