[Security & JAAS/JBoss] - form-error-page not working
by abickford4523
Hello,
I've created a custom login module that implements javax.security.auth.spi.LoginModule. My login module works great when the user provides valid credentials, but when the user does not provide valid credentials the are bounced to a standard 403 error page, not the error page I've specified in web.xml. The relevant section of my web.xml looks like this:
| <login-config>
| <auth-method>FORM</auth-method>
| <form-login-config>
| <form-login-page>/login.jsp</form-login-page>
| <form-error-page>/loginError.jsp</form-error-page>
| </form-login-config>
| </login-config>
|
Any idea why my form-error-page is not being honored? Also, I tried enabling extra logging per item #4 in the SecurityFAQ but I didn't see any extra logging printed out anywhere. I'm using JBossAS-5.0.1.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232573#4232573
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232573
16 years, 11 months
[EJB 3.0] - Timer cancled during timeout execution
by cpslo1999
I'm using an EJB3 style Stateless Session Bean as a target for a timer. During my integration testing I have the timer turned up to repeat very quickly (100ms interval) so that I don't have to wait for too long while the tests are executing. However, it has illustrated a problem that may have taken a really long time to witness (in fact I may never have witnessed it).
My test configures the timer to run on a tight interval, calls a method that starts the timer, does some checking to make sure the timer has done its job, and then cancels the timer. However, the test frequently cancels the timer while the handleTimeout method is executing. I know this, because I check to see if the Timer is valid at the beginning of the method, but toward the end of the method I get an exception when I call Timer.getInfo
10:56:12,890 ERROR [TimerImpl] Error invoking ejbTimeout ejb.NoSuchObjectLocalException: Timer was canceled
Being in a session bean, I had assumed that the public methods, including the @Timeout public void handleTimeout(Timer tmr) method would be transactional and therefore wouldn't interfere with each other like this.
Am I doing something wrong or is there a bug here?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232558#4232558
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232558
16 years, 11 months
[Beginners Corner] - Re: Licensing
by PeterJ
You can run the community version of JBoss AS (other any of the other JBoss middleware products) without having to pay any support or licensing costs. Of course, you are then on you own if a problem comes up - you can post such a problem in these forums but there is no guarantee of a response.
You can also purchase a support contract from Red Hat or one of its partners. That contract provides guaranteed resolution times for problems that you encounter, and enables you to download the enterprise version of various JBoss middlewares - those versions are typically better tested, are more stable, and periodically patches and service packs are provided to fix problems.
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232541#4232541
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4232541
16 years, 11 months