hi, 

the problem is : login module class must be in system class path. 

happy news is that you can use ProxyLoginModule instead of directly declaring 
your class. look at the config file : 

<login-module code="org.jboss.security.auth.spi.ProxyLoginModule" 
flag="required">
  |                 <module-option 
name="moduleName">org.jboss.portal.core.identity.MyLoginModule</module-option>
  |                 <module-option 
name="unauthenticatedIdentity">guest</module-option>
  |                 <module-option 
name="userModuleJNDIName">java:/portal/UserModule</module-option>
  |                 <module-option 
name="roleModuleJNDIName">java:/portal/RoleModule</module-option>
  |                 <module-option 
name="userProfileModuleJNDIName">java:/portal/UserProfileModule</module-option>
  |                 <module-option 
name="membershipModuleJNDIName">java:/portal/MembershipModule</module-option>
  |                 <module-option 
name="additionalRole">Authenticated</module-option>
  |             </login-module> 

for further : http://docs.jboss.org/jbossas/admindevel326/html/ch8.chapter.html

best regards

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4171145
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to