SaslException thrown when using custom security login module to secure the call to the remote EJB

Solution Verified - Updated -

Issue

  • javax.security.sasl.SaslException thrown when the custom login module is used for authentication with jaas security domain and custom or application security realm
  • javax.naming.AuthenticationException: Failed to connect to any server. javax.security.sasl.SaslException: Authentication failed: all available authentication mechanisms failed

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • EAP 6.x

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