protected OpenSSOAgent getOpenSSOAgent()
{
if (this.openSSOAgent == null)
{
OpenSSOAgent openssoAgent = (OpenSSOAgent)getExoContainer().getComponentInstanceOfType(OpenSSOAgent.class);
if (openssoAgent == null)
{
throw new IllegalStateException("OpenSSOAgent component not provided in PortalContainer");
}
openssoAgent.setServerUrl(ssoServerUrl);
openssoAgent.setCookieName(ssoCookieName);
this.openSSOAgent = openssoAgent;
}
return this.openSSOAgent;
}