To set up and use My Yahoo! Enterprise Edition in your portals, perform the following steps:
Import or copy this | to this directory (create if necessary) |
<WEBLOGIC_HOME>\samples\portal\portalApp\ sampleportal\portlets\yahoo\ |
<PORTAL_APP>\<project>\portlets\ |
<WEBLOGIC_HOME>\samples\portal\portalApp\ sampleportal\yahoo\ |
<PORTAL_APP>\<project>\ |
<WEBLOGIC_HOME>\samples\portal\portalApp\ sampleportal\ yahoo_locale.properties |
<PORTAL_APP>\<project>\ |
<WEBLOGIC_HOME>\samples\portal\portalApp\ META-INF\data\userprofiles\ YahooEnterprise.usr |
<PORTAL_APP>\data\userprofiles\ |
<WEBLOGIC_HOME>\samples\portal\portalApp\ sampleportal\WEB-INF\lib\ yahoo_servlet.jar |
<PORTAL_APP>\<project>\WEB-INF\lib\ |
<!-- Yahoo Integration: Filter to handle login -->
<filter>
<filter-name>YahooLoginFilter</filter-name>
<filter-class>com.bea.myee.portal.YahooLoginFilter</filter-class>
</filter> <filter-mapping>
<filter-name>PageFlowJspFilter</filter-name>
<url-pattern>*.jsp</url-pattern>
</filter-mapping> <!-- Putting this on * will allow it to handle <um:login>,
j_security_check/form-based, and Basic Auth style logins.
-->
<filter-mapping>
<filter-name>PortalServletFilter</filter-name>
<url-pattern>*</url-pattern>
</filter-mapping> <!-- Yahoo Integration: filter mapping should be the same as
the NetUIx servlet mapping -->
<filter-mapping>
<filter-name>YahooLoginFilter</filter-name>
<url-pattern>*.portal</url-pattern>
</filter-mapping>
<filter-mapping>
<filter-name>YahooLoginFilter</filter-name>
<url-pattern>/appmanager/*</url-pattern>
</filter-mapping> <listener>
<listener-class>
com.bea.wlw.runtime.core.servlet.WebappContextListener
</listener-class>
</listener>
<!-- PortalServices: Listener to initialize a user's Anonymous profile on
session creation -->
<listener>
<listener-class>com.bea.p13n.servlets.AnonymousProfileListener</listener-class>
</listener>
.
.
.
<!-- Yahoo Integration: Controller Servlet -->
<servlet>
<servlet-name>YahooController</servlet-name>
<servlet-class>com.bea.myee.portal.YahooController</servlet-class>
</servlet>
.
.
.
<!-- Yahoo Integration: Controller Servlet Mapping-->
<servlet-mapping>
<servlet-name>YahooController</servlet-name>
<url-pattern>/yahoo_controller</url-pattern>
</servlet-mapping>
To activate support for anonymous users
Certain My Yahoo! Enterprise Edition modules can be configured for anonymous users. Use this procedure to activate support for anonymous users. It involves simply logging in to an existing portal using the Login Portlet. You must perform this procedure before you can perform the next procedure.
A model account lets you set up default configurations for My Yahoo! Enterprise Edition modules that you use in your portals. For example, in a model account you can set the Weather module to display weather for specific cities by default.
You are ready to add preconfigured My Yahoo! Enterprise Edition portlets to your portals. See My Yahoo! Enterprise Edition Portlets for instructions. You can also create new portlets from My Yahoo! Enterprise Edition modules. See Creating Portlets from My Yahoo! Enterprise Edition Modules for instructions.
When users log in for the first time to a portal desktop that contains My Yahoo! Enterprise Edition portlets, they are prompted to link to their existing Yahoo! accounts.
In the Portal Samples, see My Yahoo! Enterprise Edition Portlets.
Adding My Yahoo! Enterprise Edition to Portal Applications
Creating Portlets from My Yahoo! Enterprise Edition Modules
See the WebLogic Administration Portal help system tutorial on "Setting up My Yahoo! Enterprise Edition Portlets."