The abort() method in AbstractServerLoginModule always return true

Solution Verified - Updated -

Issue

  • Issue with LoginModule abort() return value.
  • According to the spec1:

    • abort() should return true or throw exception if login() succeeded, and should return false if login() failed.
    • However, when I have a custom login module extends from DatabaseServerLoginModule, super.abort() always returns true.
    • Can you confirm that abort() in DatabaseServerLoginModule follows the spec1?
  • According to the spec1, abort() should return true or throw exception if login() succeeded, and should return false if login() failed. However, abort() of subclasses of org.jboss.security.auth.spi.AbstractServerLoginModule always returns true.

Environment

  • Red Hat JBoss Enterprise Application Platform (EAP)
    • 6.3.2

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.