The abort() method in AbstractServerLoginModule always return true
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, tools, and much more.