protected ShibLoginPortletRunController(UserRequest ureq, WindowControl wControl) {
super(wControl);
this.trans = new PackageTranslator(Util.getPackageName(ShibLoginPortlet.class), ureq.getLocale());
this.portletVC = new VelocityContainer("uniVC", VELOCITY_ROOT + "/portlet.html", trans, this);
SwitchShibbolethAuthenticationConfigurator config = (SwitchShibbolethAuthenticationConfigurator)CoreSpringFactory.getBean("org.olat.shibboleth.SwitchShibbolethAuthenticationConfigurator");
portletVC.contextPut("wayfSPEntityID", config.getWayfSPEntityID());
portletVC.contextPut("wayfSPHandlerURL", config.getWayfSPHandlerURL());
portletVC.contextPut("wayfSPSamlDSURL", config.getWayfSPSamlDSURL());
portletVC.contextPut("wayfReturnUrl", config.getWayfReturnUrl());
setInitialComponent(this.portletVC);
}