jboss-eap-4.3.x

javaee url-pattern “/” matches everything, while this should be the case for “/*” only, not for “/”

妖精的绣舞 提交于 2019-12-08 00:10:51
问题 <security-constraint> <web-resource-collection> <web-resource-name>Common pages</web-resource-name> <url-pattern>/test1.html</url-pattern> <http-method>GET</http-method> </web-resource-collection> <auth-constraint> <role-name>MY_GROUP</role-name> </auth-constraint> </security-constraint> as expected, with this constraint, the page /test1.html needs authentication, and the page /test2.html does not need authentication. <security-constraint> <web-resource-collection> <web-resource-name>Common

javaee url-pattern “/” matches everything, while this should be the case for “/*” only, not for “/”

别来无恙 提交于 2019-12-06 09:38:39
<security-constraint> <web-resource-collection> <web-resource-name>Common pages</web-resource-name> <url-pattern>/test1.html</url-pattern> <http-method>GET</http-method> </web-resource-collection> <auth-constraint> <role-name>MY_GROUP</role-name> </auth-constraint> </security-constraint> as expected, with this constraint, the page /test1.html needs authentication, and the page /test2.html does not need authentication. <security-constraint> <web-resource-collection> <web-resource-name>Common pages</web-resource-name> <url-pattern>/*</url-pattern> <http-method>GET</http-method> </web-resource

what dictates JSF version? Container or faces-config?

情到浓时终转凉″ 提交于 2019-11-29 07:15:55
I am currently running a legacy JSF application on JBoss AS 4.3. I believe that this implements JSF 1.2. However, when I looked at the faces-config, I saw that it was using the JSF 1.1 DTD. Which version of JSF am I using? The exact JSF implementation version information is available in /META-INF/MANIFEST.MF file of the JSF implementation JAR file. It's usually located near the bottom of the manifest file as follows: Implementation-Title: Mojarra Implementation-Version: 1.2_12-b01-FCS Implementation-Vendor: Sun Microsystems, Inc. A JAR file can be opened with a ZIP tool. In case of Sun RI /

what dictates JSF version? Container or faces-config?

别来无恙 提交于 2019-11-28 00:48:54
问题 I am currently running a legacy JSF application on JBoss AS 4.3. I believe that this implements JSF 1.2. However, when I looked at the faces-config, I saw that it was using the JSF 1.1 DTD. Which version of JSF am I using? 回答1: The exact JSF implementation version information is available in /META-INF/MANIFEST.MF file of the JSF implementation JAR file. It's usually located near the bottom of the manifest file as follows: Implementation-Title: Mojarra Implementation-Version: 1.2_12-b01-FCS