org.olat.login.auth
Class AuthenticationProvider

java.lang.Object
  extended by org.olat.login.auth.AuthenticationProvider
All Implemented Interfaces:
ControllerCreator

public class AuthenticationProvider
extends java.lang.Object
implements ControllerCreator

Initial Date: 04.08.2004

Author:
Mike Stock
Comment: An authentication provider authenticates users. It is initialized with the providerConfig.

Constructor Summary
AuthenticationProvider(com.anthonyeden.lib.config.Configuration providerConfig)
          Authentication provider implementation.
 
Method Summary
 Controller createController(UserRequest lureq, WindowControl lwControl)
           
 java.lang.String getDescription(java.util.Locale locale)
          [used by velocity]
 java.lang.String getLinktext(java.util.Locale locale)
          [used by velocity]
 java.lang.String getName()
           
 boolean isEnabled()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationProvider

public AuthenticationProvider(com.anthonyeden.lib.config.Configuration providerConfig)
Authentication provider implementation. Gets its config from the olat_config.xml file.

Parameters:
providerConfig -
Method Detail

isEnabled

public boolean isEnabled()
Returns:
True if this auth provider is enabled.

getName

public java.lang.String getName()
Returns:
Name used to identify this authprovider.

getDescription

public java.lang.String getDescription(java.util.Locale locale)
[used by velocity]

Parameters:
language -
Returns:
Description text.

getLinktext

public java.lang.String getLinktext(java.util.Locale locale)
[used by velocity]

Parameters:
language -
Returns:
Link text used to display a link to switch to this authentication provider.

createController

public Controller createController(UserRequest lureq,
                                   WindowControl lwControl)
Specified by:
createController in interface ControllerCreator