org.olat.shibboleth
Class ShibbolethAuthenticationController

java.lang.Object
  extended by org.olat.core.gui.control.DefaultController
      extended by org.olat.core.gui.control.controller.BasicController
          extended by org.olat.login.auth.AuthenticationController
              extended by org.olat.shibboleth.ShibbolethAuthenticationController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class ShibbolethAuthenticationController
extends AuthenticationController

Initial Date: 04.08.2004

Author:
Mike Stock

Description:
Replaces the old ShibbolethAuthenticationController which used to have an own WAYF.

This ShibbolethAuthenticationController uses the EmbeddedWAYF provided by SWITCH (see the shibbolethlogin.html)


Constructor Summary
ShibbolethAuthenticationController(UserRequest ureq, WindowControl wControl)
           
 
Method Summary
 void changeLocale(java.util.Locale newLocale)
          Called if the Controller is to change the locale on the fly.
 void event(UserRequest ureq, Component source, Event event)
          abstract event method for subclasses.
static java.lang.String getHomeSiteCookieValue(UserRequest ureq)
          gets the cookie for setting the dropdown in the shib login to the entry selected the last time
static void setHomeSiteCookie(java.lang.String homeSite, UserRequest ureq)
          Sets a cookie with the home site last selected in the shib login form.
 
Methods inherited from class org.olat.login.auth.AuthenticationController
authenticated
 
Methods inherited from class org.olat.core.gui.control.DefaultController
addControllerListener, addLoggingResourceable, dispatchEvent, dispatchEvent, dispose, getControllerCount, getInitialComponent, getUserActivityLogger, getWindowControlForDebug, isDisposed, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ShibbolethAuthenticationController

public ShibbolethAuthenticationController(UserRequest ureq,
                                          WindowControl wControl)
Method Detail

changeLocale

public void changeLocale(java.util.Locale newLocale)
Description copied from class: AuthenticationController
Called if the Controller is to change the locale on the fly.

Specified by:
changeLocale in class AuthenticationController
See Also:
AuthenticationController.changeLocale(java.util.Locale)

event

public void event(UserRequest ureq,
                  Component source,
                  Event event)
Description copied from class: DefaultController
abstract event method for subclasses. the event received from the component we are listening to are always rerouted to this method here, except when the component has been disposed, in which case the events are simply ignored.

See Also:
DefaultController.event(org.olat.core.gui.UserRequest, org.olat.core.gui.components.Component, org.olat.core.gui.control.Event)

getHomeSiteCookieValue

public static java.lang.String getHomeSiteCookieValue(UserRequest ureq)
gets the cookie for setting the dropdown in the shib login to the entry selected the last time

Parameters:
ureq -
Returns:
the Cookie object

setHomeSiteCookie

public static void setHomeSiteCookie(java.lang.String homeSite,
                                     UserRequest ureq)
Sets a cookie with the home site last selected in the shib login form.

Parameters:
homeSite -
ureq -