<? xml version="1.0" encoding="GB2312" ?>
<! 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">
<weblogic-web-app>
<!--
为web.xml所定义角色赋值
如果是Weblogic 8.1 SP2 或者之前的版本,可以不定义security-role-assignment
如果是SP3,必须手工添加所有principal(角色或角色组);
-->
<security-role-assignment>
<!-- role-name 必须跟web.xml中security-role标记下的role-name取值相同 -->
<role-name>pafaDemoUser</role-name>
<!-- principal-name 必须是UM中定义的角色或者角色组,不能是用户 -->
<principal-name>r_usermanager_rm_user</principal-name>
<principal-name>p_g_rmtest03_myopr</principal-name>
<principal-name>Administrators</principal-name>
</security-role-assignment>
<jsp-descriptor>
<jsp-param>
<param-name>pageCheckSeconds</param-name>
<param-value>1</param-value>
</jsp-param>
<jsp-param>
<param-name>compilerSupportsEncoding</param-name>
<param-value>true</param-value>
</jsp-param>
<jsp-param>
<param-name>encoding</param-name>
<param-value>GB2312</param-value>
</jsp-param>
<jsp-param>
<param-name>verbose</param-name>
<param-value>true</param-value>
</jsp-param>
<jsp-param>
<param-name>printNulls</param-name>
<param-value>false</param-value>
</jsp-param>
<jsp-param>
<param-name>keepgenerated</param-name>
<param-value>true</param-value>
</jsp-param>
</jsp-descriptor>
</weblogic-web-app>
原文链接:https://www.f2er.com/xml/294603.html