Mail Archive Home | architecture List | April 2006 Index
| <-- Date Index --> | <-- Thread Index --> |
Hi, Develop a application for WebService Routing and Security for BPEL PM(Oracle) in the goverment of Chile, I use OC4J for this application but the IAS is very inestable, i work in other project with JONaS with very good results, but i need use Security-Constraints for Auth-Method Basic in OC4J run fine, but i need run this in JONaS the file web.xml no work any idea? ----------------------------------------- Conéctate con Chile.com. http://www.chile.com/accesogratis/
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app>
<description>Empty web.xml file for Web Application</description>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.apache.struts.action.ActionServlet</servlet-class>
<init-param>
<param-name>config</param-name>
<param-value>/WEB-INF/struts-config.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
</servlet-mapping>
<session-config>
<session-timeout>0</session-timeout>
</session-config>
<welcome-file-list>
<welcome-file>/index.jsp</welcome-file>
</welcome-file-list>
<mime-mapping>
<extension>html</extension>
<mime-type>text/html</mime-type>
</mime-mapping>
<mime-mapping>
<extension>txt</extension>
<mime-type>text/plain</mime-type>
</mime-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>Action</web-resource-name>
<url-pattern>/Controlador.do</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>homologados</role-name>
<role-name>tesoropublico</role-name>
<role-name>dipres</role-name>
<role-name>contraloria</role-name>
</auth-constraint>
</security-constraint>
<security-role>
<role-name>contraloria</role-name>
</security-role>
<security-role>
<role-name>homologados</role-name>
</security-role>
<security-role>
<role-name>tesoropublico</role-name>
</security-role>
<security-role>
<role-name>dipres</role-name>
</security-role>
<login-config>
<auth-method>BASIC</auth-method>
<realm-name>Sistemas de Información para la Gestión Financiera del Estado</realm-name>
</login-config>
</web-app>
| <-- Date Index --> | <-- Thread Index --> |
Powered by MHonArc.
Copyright © 1999-2005, ObjectWeb Consortium | contact | webmaster.