jboss-portal

Prelogin filter before j_security_check

前提是你 提交于 2019-12-31 04:54:26
问题 I currently have a form based login in my application which is developed on Jboss portal server. I wish to do some pre login validation and redirect user to another page in case of a condition being true. How can I intercept the request before j_security_check login is executed and also forward the flow to j_security_check after that condition is found to be false. Please note that I do not want to have client side validation. This is what I was trying to do, but didn't find any success:

Prelogin filter before j_security_check

折月煮酒 提交于 2019-12-02 06:41:43
I currently have a form based login in my application which is developed on Jboss portal server. I wish to do some pre login validation and redirect user to another page in case of a condition being true. How can I intercept the request before j_security_check login is executed and also forward the flow to j_security_check after that condition is found to be false. Please note that I do not want to have client side validation. This is what I was trying to do, but didn't find any success: Created a LoginFilter.java file and my webapp web.xml looked like: <filter> <filter-name>LoginFilter<

Where to put a shared library in JBoss AS 5?

ε祈祈猫儿з 提交于 2019-11-27 09:04:50
I m new to Jboss, but I have multiple web applications each using spring-hibernate and other open source libraries and portlets, so basically now each war file includes those jar files. How do I move these jars to a common location so that I don't have to put these in each war file? I guess location is server/default/lib , but I'm not sure. Also, how is it different to have those jars at WEB-INF/lib vs. JBOSS/server/default/lib ? Will I face any classloader issue? Also I have static data stored in static fields like Singleton , will those be shared across all WAR files? Classloading: You're

Where to put a shared library in JBoss AS 5?

时光毁灭记忆、已成空白 提交于 2019-11-26 14:31:38
问题 I m new to Jboss, but I have multiple web applications each using spring-hibernate and other open source libraries and portlets, so basically now each war file includes those jar files. How do I move these jars to a common location so that I don't have to put these in each war file? I guess location is server/default/lib , but I'm not sure. Also, how is it different to have those jars at WEB-INF/lib vs. JBOSS/server/default/lib ? Will I face any classloader issue? Also I have static data