org.olat.login
Class OLATAuthenticationController

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.login.OLATAuthenticationController
All Implemented Interfaces:
Controller, ControllerEventListener, Disposable

public class OLATAuthenticationController
extends AuthenticationController

Initial Date: 04.08.2004

Author:
Mike Stock

Field Summary
static java.lang.String PARAM_LOGINERROR
           
static java.lang.String PROVIDER_OLAT
          identified this authentication provider
 
Constructor Summary
OLATAuthenticationController(UserRequest ureq, WindowControl winControl)
           
 
Method Summary
static Identity authenticate(java.lang.String login, java.lang.String pass)
          Deprecated. should not be part of the controller
 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.
 void event(UserRequest ureq, Controller source, Event event)
          the only method of the interface controllereventlistener.
 
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
 

Field Detail

PROVIDER_OLAT

public static final java.lang.String PROVIDER_OLAT
identified this authentication provider

See Also:
Constant Field Values

PARAM_LOGINERROR

public static final java.lang.String PARAM_LOGINERROR
See Also:
Constant Field Values
Constructor Detail

OLATAuthenticationController

public OLATAuthenticationController(UserRequest ureq,
                                    WindowControl winControl)
See Also:
org.olat.login.auth.AuthenticationController#init(org.olat.core.gui.UserRequest, org.olat.core.gui.control.WindowControl)
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)

event

public void event(UserRequest ureq,
                  Controller source,
                  Event event)
Description copied from class: DefaultController
the only method of the interface controllereventlistener. always gets called when a controller we 'subscribed' to fires an event. we provide a default implementation here since there are many controllers which are standalone and need no subcontrollers

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

authenticate

public static Identity authenticate(java.lang.String login,
                                    java.lang.String pass)
Deprecated. should not be part of the controller

Parameters:
login -
pass -
Returns:
Identity if authentication was successfull, null otherwise.