TongWeb7.0.2.4及以后版本命令行上传文件功能升级补丁web.xml

MoMo 2021年6月15日09:42:58
评论
39
<?xml version="1.0" encoding="UTF-8"?>

<web-app version="3.0" xmlns="http://java.sun.com/xml/ns/javaee"

xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"

xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 

       http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd">

<display-name>servlet 3.0</display-name>



<servlet>

<servlet-name>rjcs</servlet-name>

<servlet-class>com.tongweb.admin.jmx.remote.server.servlet.RemoteJmxConnectorServlet</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>rjcs</servlet-name>

<url-pattern>/rjcs</url-pattern>

</servlet-mapping>



<servlet>

<servlet-name>dummy</servlet-name>

<servlet-class>com.tongweb.admin.jmx.remote.server.servlet.DummyServlet</servlet-class>

</servlet>

<servlet-mapping>

<servlet-name>dummy</servlet-name>

<url-pattern>/dummy</url-pattern>

</servlet-mapping>


<security-constraint>

<web-resource-collection>

<web-resource-name>Basic Realm</web-resource-name>

<url-pattern>/*</url-pattern>

</web-resource-collection>

<auth-constraint>

<role-name>admin</role-name>

</auth-constraint>

</security-constraint>

<login-config>

<auth-method>BASIC</auth-method>

<realm-name>defaultRealm</realm-name>

</login-config>

<security-role>

<description>The admin role</description>

<role-name>admin</role-name>

</security-role>



<session-config>

  <cookie-config>

      <http-only>true</http-only>

      </cookie-config>

    </session-config>

</web-app>
https://xpanx.com/
MoMo
  • 本文由 发表于 2021年6月15日09:42:58
  • 转载请务必保留本文链接:https://xpanx.com/3059.html
匿名

发表评论

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: