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

Jan Snelders do-not-reply at jboss.com
Mon Mar 12 14:22:24 EDT 2012


Jan Snelders [https://community.jboss.org/people/snelders] created the discussion

"Re: Custom jdbc login module for remoting"

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

--------------------------------------------------------------
Jason thanks for the explanation.

It however doesn't work for me either. I still get the class not found error:
19:20:46,277 TRACE [org.jboss.modules] (Remoting "hattori-hanzo" task-2) Class com.my.CustomSecurityLoginModule not found from Module "org.jboss.as.remoting:main" from local module loader @3d32e42f (roots: C:\jboss\jboss-as-7\modules)


I tried:

<security-domain name="MyCustomSecurityDomain" cache-type="default">
    <authentication>
        <login-module code="com.my.CustomSecurityLoginModule" flag="required" module="deployment.MyEar.ear.SecurityModule.jar">
            <module-option name="password-stacking" value="useFirstPass"/>
        </login-module>
    </authentication>
</security-domain>

and also: (after first deploying a seperate jar which only contained the LoginModule)

<security-domain name="MyCustomSecurityDomain" cache-type="default">
    <authentication>
        <login-module code="com.my.CustomSecurityLoginModule" flag="required" module="deployment.SecurityModule.jar">
            <module-option name="password-stacking" value="useFirstPass"/>
        </login-module>
    </authentication>
</security-domain>
--------------------------------------------------------------

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

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/90e9a56c/attachment.html 


More information about the jboss-dev-forums mailing list