The Enterprise Sample portal display profile file goes in the o=EnterpriseSample,dc=siroe,dc=com DN and the display profile file is in PortalServer-base/par-src/enterprise_sample/dp directory.
Create the default portal PAR file.
For example, typePortalServer-base/bin/psadmin create-par --dir PortalServer-base/par-src/default-portal/ /tmp/default-portal.par
Import the default portal PAR file.
For example, type PortalServer-base/bin/psadmin import -u amadmin -f password-file -p portal1 --overwrite /tmp/default-portal.par.
You can specify a custom login failed page when a user fails to authenticate to Portal Server.
Login to the Access Manager console as administrator.
By default, when you log in, Identity Management is selected in the location pane, and Organizations is selected in the Navigation pane.
Select the EnterpriseSample organization.
Select Services from the View menu.
Click the properties icon arrow next to Core under Authentication Modules.
Specify the login failed URL for the Default Failure Login URL.
The Enterprise Sample specifies the default login failure URL for the AdventureSports Cafe as http://siroe.com/portal/dt?loginfailed=true. The JSP file that determines what to do with a login failure is PortalServer-DataDir/portals/portal-ID/desktop/enterprise_sample/JSPTabContainer/anonymous.jsp.
Customize the anonymous.jsp file in PortalServer-Datadir/portals/portal-ID/desktop/enterprise_sample/JSPTabContainer directory.
You can specify a custom logout page for users when they log out of the portal. This is accomplished by using the Access Manager Logout service with the goto parameter specified for the custom logout page. The Enterprise Sample uses this approach when a user logs out of the portal to redirect to the anonymous portal.
Navigate to the directory Navigate to the directory
/var/opt/SUNWportal/portals/portal-ID/desktop/enterprise_sample
Edit the logout.jsp file.
For example:
onClick="location.href=’/amserver/UI/Logout?goto=/logout.html’" |
The Enterprise Sample specifies the custom logout page in the following files:
PortalServer-DataDir/portals/portal-ID/desktop/enterprise_sample/logout.jsp PortalServer-DataDir/portals/portal-ID/desktop/enterprise_sample/error/error.template PortalServer-DataDir/portals/portal-ID/desktop/enterprise_sample/error/noneditablechannel.template PortalServer-DataDir/portals/portal-ID/desktop/enterprise_sample/error/noprivilege.template PortalServer-DataDir/portals/portal-ID/desktop/enterprise_sample/error/unknownchannel.template |