关于weblogic.xml的配置

前端之家收集整理的这篇文章主要介绍了关于weblogic.xml的配置前端之家小编觉得挺不错的,现在分享给大家,也给大家做个参考。

<? xml version="1.0" encoding="GB2312" ?>@H_403_1@

<! DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems,Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd">@H_403_1@

<weblogic-web-app>@H_403_1@

<!--@H_403_1@

为web.xml所定义角色赋值@H_403_1@

如果是Weblogic 8.1 SP2 或者之前的版本,可以不定义security-role-assignment@H_403_1@

如果是SP3,必须手工添加所有principal(角色或角色组);@H_403_1@

-->@H_403_1@

<security-role-assignment>@H_403_1@

<!-- role-name 必须跟web.xml中security-role标记下的role-name取值相同 -->@H_403_1@

<role-name>pafaDemoUser</role-name>@H_403_1@

<!-- principal-name 必须是UM中定义的角色或者角色组,不能是用户 -->@H_403_1@

<principal-name>r_usermanager_rm_user</principal-name>@H_403_1@

<principal-name>p_g_rmtest03_myopr</principal-name>@H_403_1@

<principal-name>Administrators</principal-name>@H_403_1@

</security-role-assignment>@H_403_1@

<jsp-descriptor>@H_403_1@

<jsp-param>@H_403_1@

<param-name>pageCheckSeconds</param-name>@H_403_1@

<param-value>1</param-value>@H_403_1@

</jsp-param>@H_403_1@

<jsp-param>@H_403_1@

<param-name>compilerSupportsEncoding</param-name>@H_403_1@

<param-value>true</param-value>@H_403_1@

</jsp-param>@H_403_1@

<jsp-param>@H_403_1@

<param-name>encoding</param-name>@H_403_1@

<param-value>GB2312</param-value>@H_403_1@

</jsp-param>@H_403_1@

<jsp-param>@H_403_1@

<param-name>verbose</param-name>@H_403_1@

<param-value>true</param-value>@H_403_1@

</jsp-param>@H_403_1@

<jsp-param>@H_403_1@

<param-name>printNulls</param-name>@H_403_1@

<param-value>false</param-value>@H_403_1@

</jsp-param>@H_403_1@

<jsp-param>@H_403_1@

<param-name>keepgenerated</param-name>@H_403_1@

<param-value>true</param-value>@H_403_1@

</jsp-param>@H_403_1@

</jsp-descriptor>@H_403_1@

</weblogic-web-app>@H_403_1@

猜你在找的XML相关文章