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 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.