-
1. Re: Entity expansion possible in Wildfly 8.2.0.Final?
meetoblivion Feb 22, 2015 2:30 PM (in response to freiser)Can you explain what exactly you configured, using XML snippets and relevant file names you changed?
-
2. Re: Entity expansion possible in Wildfly 8.2.0.Final?
freiser Feb 26, 2015 2:00 AM (in response to freiser)Hello John,
I've done the following to the web.xml:
<!DOCTYPE web-app PUBLIC "http://java.sun.com/xml/ns/javaee" "http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"[
<!ENTITY login-config SYSTEM "./login-config.xml">
]>
<web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://java.sun.com/xml/ns/javaee"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<security-constraint>
<..snip../>
</security-constraint>
<security-role>
<..snip../>
</security-role>
&login-config;
</web-app>
And this is the login-config.xml which is in the same directory:
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>secure web self-care</realm-name>
</login-config>