This content has been marked as final.
Show 3 replies
-
1. Re: Local login problem from web client.
sfcoy Mar 27, 2012 8:35 AM (in response to asili20o)You will find some clues in this article Testing secured EJBs on JBoss AS7.1.x with Arquillian.
-
2. Re: Local login problem from web client.
asili20o Mar 29, 2012 12:30 PM (in response to sfcoy)i couldnt use arquilian at all. still wont let me log in. in jboss 6.1 all i have to do was
props.put(Context.SECURITY_PRINCIPAL, LogonUser.getUser().getName().trim());
props.put(Context.SECURITY_CREDENTIALS, LogonUser.getUser().getPassword().trim());
than call the bean thats all.
not sure what is not allowing me to connect to jboss.
-
3. Re: Local login problem from web client.
sfcoy Mar 29, 2012 5:50 PM (in response to asili20o)If you update to servlet 3.0 APIs, you can also use javax.servlet.http.HttpServletRequest.html#login(java.lang.String, java.lang.String).