I'm trying to get my custom login module to work without success all this weekend and it's getting ridiculous now.
I've got the whole thing set up as near as perfect as I can tell. I'm following the docs as best I can, but I'm extending AbstractServerLoginModule which I haven't found an example for.
JBossSx calls my LoginModule's initialize and login methods OK, and I follow the instructions to make
JBoss realize the login succeeded, but no joy.
Can anybody out there tell me:
does AbstractServerLoginModule require any special module-option settings in the login-config.xml?
what class should I implement Principal with? (It's abstract, but JAAS requires it)
must it be a different class for the user identity and the roles?
how can I switch on the logging for AbstractServerLoginModule in my log4j.xml settings? The straight org.jboss.security.auth.spi.AbstractServerLoginModule name doesn't work.
Thanks!
Adam
I have seen things you people would not believe, attack ships on fire off the shoulder of Orion, c-beams sparkling in the dark near the Tennhauser Gate. All these moments will be lost in time, like tears in the rain.