We wrote a customized login module (PassDatabaseServerLoginModule extends 
DatabaseServerLoginModule) but it seems as this class doesn't get loaded. The 
class is JARed to $JBOSS_HOME/server/default/lib/. 
login-config.xml snip:


  |     <application-policy name = "pass">
  |        <authentication>
  |           <login-module code = 
"ch.netcetera.pass.jboss.security.PassDatabaseServerLoginModule"
  |              flag = "required">
  |              <module-option name = 
"unauthenticatedIdentity">guest</module-option>
  |              <module-option name = 
"dsJndiName">java:/jdbc/OraclePassDS</module-option>
  |              <module-option name = "hashAlgorithm">pass2</module-option>
  |           </login-module>
  |        </authentication>
  |     </application-policy>
  | 

If replace I the classname in the config above with a JBoss implementation 
(DatabaseServerLoginModule) the configuration seems to be loaded as it (as 
expected) complains about missing database tables as soon as a bean is called:


  | 2005-06-27 11:17:03,418 136663 ERROR 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] (RMI TCP 
Connection(3)-172.17.0.157:) Query failed
  | java.sql.SQLException: ORA-00942: table or view does not exist
  | 

I can not find any complaints in the log about the class not being found (even 
if I specify login-module code="FooBar") - is there a way to find out why the 
login module is not loaded correctly?


thanks
Stefan


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882825#3882825

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882825


-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to