内に含まその他のドキュメントサポート リソース | PDF 文書ファイルをダウンロードする (1491 KB)
Appendix D Installation and Configuration Specific to BEA WebLogic Portal 9.2The intent of this appendix is to focus on BEA WebLogic Portal 9.2. This appendix illustrates the flow of tasks for installing and configuring Agent for BEA WebLogic Server/Portal 9.2 specifically on BEA WebLogic Portal 9.2 (not BEA WebLogic Server 9.2). The installation and configuration of this agent is complex. Since some differences exist in configuring BEA WebLogic Server 9.2 and BEA WebLogic Portal 9.2, providing tasks and examples that are specific to BEA WebLogic Portal 9.2 helps keep the focus on the portal server. In this appendix, at times you are directed to other sections of this document for information and at times information is repeated in this section from other sections. Generally, when information is repeated, it is integrated with more specific information or examples. Note – This appendix provides examples of how to protect the sample portal. By default, the sample portal is named groupspace. Therefore, groupspace is the name of the portal referred to throughout this appendix. All the same, you can protect multiple portals with a single BEA WebLogic Portal 9.2 instance. For each portal you configure, ensure that you use the correct portal application name. Installing Policy Agent 2.2 on BEA WebLogic Portal 9.2For the installation process, follow the steps as described in Chapter 3, Installing Policy Agent 2.2 for BEA WebLogic Server/Portal 9.2. However, see the example installation interaction that follows in this section for an example that is specific to BEA WebLogic Portal 9.2. Notice in the interaction, the following two portal-specific prompts: Enter true if the agent is being installed on a Portal domain [ ? : Help, < : Back, ! : Exit ] Is the agent being installed on a Portal domain ? [false]: true Enter the Deployment URI for the portal application that is protected by the agent. [ ? : Help, < : Back, ! : Exit ] Enter the Deployment URI for the portal Application [/]: /groupspace As the two preceding prompt examples indicate, to install this agent on BEA WebLogic Portal 9.2, provide a response of true to the first of these prompts, which in effect invokes the second prompt. For the second prompt, provide the name of the application to be protected. For the example used in this appendix, the sample portal is the application to be protected. Again, the default portal is named groupspace. Notice that a summary of the agent installation is included at the end of this example interaction. However, the installation summary is described more thoroughly in Summary of a J2EE Agent Installation in Policy Agent 2.2. See that section if you would like a more thorough explanation of the installation summary.
Once the installation is complete, perform the applicable installation-related tasks described in Implications of Specific Deployment Scenarios in Agent for BEA WebLogic Server/Portal 9.2. Post-Installation of Policy Agent 2.2 on BEA WebLogic Portal 9.2This section provides and directs you to post-installation information and instructions applicable to BEA WebLogic Portal 9.2. Many of the instructions are the same for BEA WebLogic Server 9.2 and BEA WebLogic Portal 9.2 When the information is the same, you are referred back to Chapter 4, Post-Installation Tasks of Policy Agent 2.2 for BEA WebLogic Server/Portal 9.2. When information is specific to BEA WebLogic Portal 9.2, it is provided in this section. This post-installation section addresses the following topics:
Portal: Common Post-Installation Steps for All J2EE Agents in Policy Agent 2.2After you have performed the applicable installation-related tasks described in Implications of Specific Deployment Scenarios in Agent for BEA WebLogic Server/Portal 9.2, perform the common post-installation steps for all J2EE agents. For information on these steps, refer to Common Post-Installation Steps for All J2EE Agents in Policy Agent 2.2. Configuring BEA WebLogic Portal 9.2 Instance With Agent Classpath and Agent Java OptionsThe basic steps involved in this task are the same for BEA WebLogic Portal 9.2 and for BEA WebLogic Server 9.2. The instructional information that follows consists of the most important information required to configure agent classpath and agent Java options specifically for BEA WebLogic Portal 9.2. For complete instructions, see Configuring BEA WebLogic Server/Portal 9.2 Instance With Agent Classpath and Agent Java Options.
|
PolicyAgent-base/agent_001/AMAgent.properties |
Edit the filter mode to match your site's requirements.
Therefore, edit the following property:
com.sun.identity.agents.config.filter.mode
The following alternatives indicate how to set the property to J2EE_POLICY or All.
To set the value of the property to J2EE_POLICY.
com.sun.identity.agents.config.filter.mode = J2EE_POLICY
This setting is appropriate if your site is using the BEA WebLogic Portal 9.2 instance solely for enabling SSO.
To set the value of the property to All.
This setting is appropriate if the BEA WebLogic Portal 9.2 instance is to be protected by an Access Manager policy.
com.sun.identity.agents.config.filter.mode = ALL
When creating an Access Manager policy to protect the BEA WebLogic Portal 9.2 instance, define the policy to give permission to only public portal URLs, such as the following:
http://agentHost.example.com:7041/groupspace/
http://agentHost.example.com:7041/groupspace/groupspace.jsp
Since forthcoming tasks require you to configure the J2EE agent AMAgent.properties configuration file, you can keep the file open at this time.
Agent for BEA WebLogic Server/Portal 9.2 comes with a sample portal named groupspace. The task that follows involves configuring logout-related properties in the J2EE agent AMAgent.properties configuration file for the sample portal.
(Conditional) If the J2EE agent AMAgent.properties configuration file is not currently open, access it now using the text editor of your choice.
Set the properties related to logging out.
As indicated in the substeps that follow, locate the respective properties in the file and set them as shown.
Set the following property as such:
com.sun.identity.agents.config.logout.uri[groupspace] = /groupspace/communityFiles/shell/logout.jsp
Set the following property as such:
com.sun.identity.agents.config.logout.request.param[groupspace] = logout
Set the following property as such:
com.sun.identity.agents.config.logout.introspect.enabled = true
(Conditional) If you are finished editing the J2EE agent AMAgent.properties configuration file, save and close the file.
You can further enforce security by configuring the agent to verify users in the BEA WebLogic Portal 9.2 user repository. This is accomplished by editing the J2EE agent AMAgent.properties configuration file as explained in the following task description.
If the J2EE agent AMAgent.properties configuration file is not currently open, access it now using the text editor of your choice. Also, once you complete this task, if you are then finished editing the J2EE agent AMAgent.properties configuration file, save and close the file.
Locate the respective property in the file and set it in a manner similar to that shown.
The following example illustrates how this property is set for the sample portal:
com.sun.identity.agents.config.verification.handler[groupspace] = com.sun.identity.agents.weblogic.v92.AmWLPortalVerificationHandler
The instructional information that follows consists of the most important information required for the configuration of the web.xml file. For a more thorough explanation, see Installing the Agent Filter for the Deployed Application on Agent for BEA WebLogic Server/Portal 9.2.
As consistent with the rest of this appendix, this section specifies the sample portal as the application whose deployment descriptor is modified.
The following is a conceivable location for the web.xml file for the sample portal:
/usr/local/bea/weblogic92/samples/portal/portalApp/groupspaceSampleWeb/WEB-INF
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>
|
For BEA WebLogic Portal 9.2, deploy the Agent application at this point in the configuration by following the steps in Deploying the Agent Application of Agent for BEA WebLogic Server/Portal 9.2.
Before configuring the agent, you should create the same users in Access Manager as exist in the BEA WebLogic Portal 9.2. If users in Access Manager have different names than the names in BEA WebLogic Portal 9.2, you must establish user mapping by setting the user mapping properties in the J2EE agent AMAgent.properties configuration file. See User Mapping Properties for more information.
The following instructions lead you through a variety of broadly-defined tasks that serve as a test of the basic functionality of this deployment, which includes the following software components:
BEA WebLogic Portal 9.2
Access Manager
Agent for BEA WebLogic Server/Portal 9.2
Create a user with user ID of chris in both BEA WebLogic Portal Administration Console and in Access Manager Console.
(Conditional) If the agent filter mode is set to ALL, create the proper Access Manager policies for the portal URLs where chris is the user.
Therefore, perform the preceding instructions in this step if the following property from J2EE agent AMAgent.properties configuration file is set as such:
com.sun.identity.agents.config.filter.mode = ALL
Using a browser, enter and submit the URL of the sample portal.
The following URL is a conceivable URL for the sample portal.
http://agentHost.example.com:7041/groupspace/groupspace.jsp
Login with the user ID of chris.
The sample portal home page should appear.
Click GS Example Community.
The portal web page appears.
Click Logout.