This content has been marked as final.
Show 2 replies
-
1. Re: Cannot use jaas for ejb on duke's bank
clkang Apr 3, 2007 4:06 AM (in response to alexboyer)I got the same problem when I do the exercise of 4.2.
16:04:17,503 ERROR [LogInterceptor] EJBException in method: public abstract java .util.ArrayList com.sun.ebank.ejb.account.AccountController.getAccountsOfCustome r(java.lang.String) throws java.rmi.RemoteException,com.sun.ebank.ejb.exception. InvalidParameterException,com.sun.ebank.ejb.exception.CustomerNotFoundException:
Please do me a favor, thanks a lot. -
2. Re: Cannot use jaas for ejb on duke's bank
clkang Apr 3, 2007 4:40 AM (in response to alexboyer)According to http://www.jboss.com/?module=bb&op=viewtopic&p=3882728 step by step, I can use jass on duke's bank.
Here is my configuration..
conf\login-config.xml<application-policy name="dukesbank"> <authentication> <login-module code="org.jboss.security.auth.spi.UsersRolesLoginModule" flag="required"> <module-option name="usersProperties">props/users.properties</module-option> <module-option name="rolesProperties">props/roles.properties</module-option> <module-option name="unauthenticatedIdentity">anonymous</module-option> </login-module> </authentication> </application-policy>
web\jboss-web.xml<jboss-web> <security-domain>java:/jaas/dukesbank</security-domain> ... </jboss-web>
I do nothing on jboss.xml.