Sun Java System Access Manager Policy Agent 2.2 Guide for BEA WebLogic Server/Portal 9.2

ProcedureTo Install the Agent Filter for the Deployed Application Specifically for BEA WebLogic Portal 9.2

    Add the <filter> elements in the deployment descriptor by specifying the <filter> and the <filter-mapping> elements immediately following the description element of the <web-app> element in the descriptor web.xml.

    The following is a sample web.xml descriptor with the <filter> and the <filter-mapping> elements added:


    <web-app>
       
    <filter>
         <filter-name>Agent</filter-name>
         <filter-class>com.sun.identity.agents.filter.AmAgentFilter</filter-class>
       </filter>
       <filter-mapping>
         <filter-name>Agent</filter-name>
         <url-pattern>/*</url-pattern>
       </filter-mapping>
       
    </web-app>