[jboss-dev-forums] [JBoss AS 7 Development] - Re: Custom jdbc login module for remoting

Daniel Jipa do-not-reply at jboss.com
Mon Mar 12 03:55:19 EDT 2012


Daniel Jipa [https://community.jboss.org/people/danjee] created the discussion

"Re: Custom jdbc login module for remoting"

To view the discussion, visit: https://community.jboss.org/message/723097#723097

--------------------------------------------------------------
Hello,

I still received the same error when trying to connect remotely to Jboss:


09:41:04,584 TRACE [org.jboss.modules] (Remoting "danieljipa" task-3) Finding class com.mycompany.security.server.jaas.CustomLoginModule from Module "org.jboss.as.remoting:main" from
 local module loader @6fc5f743 (roots: /home/daniel/Servers/jboss-as-7.1.1.Final/modules)
09:41:04,585 TRACE [org.jboss.modules] (Remoting "danieljipa" task-3) Class com.mycompany.security.server.jaas.CustomLoginModule not found from Module "org.jboss.as.remoting:main" from local module loader @6fc5f743 (roots: /home/daniel/Servers/jboss-as-7.1.1.Final/modules)
09:41:04,586 TRACE [org.jboss.modules] (Remoting "danieljipa" task-3) Finding class com.mycompany.security.server.jaas.CustomLoginModule from Module "org.jboss.as.remoting:main" from local module loader @6fc5f743 (roots: /home/daniel/Servers/jboss-as-7.1.1.Final/modules)
09:41:04,586 TRACE [org.jboss.modules] (Remoting "danieljipa" task-3) Class com.mycompany.security.server.jaas.CustomLoginModule not found from Module "org.jboss.as.remoting:main" from local module loader @6fc5f743 (roots: /home/daniel/Servers/jboss-as-7.1.1.Final/modules)
09:41:04,587 TRACE [org.jboss.remoting.remote.server] (Remoting "danieljipa" task-3) Server sending authentication rejected (javax.security.sasl.SaslException: PLAIN password not verified by CallbackHandler)



My configuration looks like this:


<security-domain name="AsfJaas" cache-type="default">
                    <authentication>
                        <login-module code="com.mycompany.security.server.jaas.CustomLoginModule" flag="required" module="deployment.myear.ear.security-server-2.0-dev.jar">
                            <module-option name="debug" value="true"/>
                        </login-module>
                    </authentication>
                </security-domain>



When using form authentication from a web application bundled in the same ear login module works as expected.
Thanks
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/723097#723097]

Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2225]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120312/436ac2e6/attachment.html 


More information about the jboss-dev-forums mailing list