How to propagate the original LoginException up the call stack so that the custom EJB interceptor can evaluate the LoginException?

Solution Unverified - Updated -

Issue

  • When using a custom login module and an "EJB Security Interceptors", in the custom login module, the code may throw a subclass of loginModule exception. Is there a way to propagate the original LoginException up the call stack so that the custom EJB interceptor can evaluate the LoginException?

  • How to manage Custom Security Provider Exception Handling by propagating he original LoginException to the Custom Security Provider?

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.2.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