org.onebusaway.users.impl
Class SpringLoginManagerFactory

java.lang.Object
  extended by org.onebusaway.users.impl.SpringLoginManagerFactory
All Implemented Interfaces:
org.onebusaway.everylastlogin.server.LoginManagerFactory

public class SpringLoginManagerFactory
extends Object
implements org.onebusaway.everylastlogin.server.LoginManagerFactory

Factory class to create a LoginManager instance from an existing Spring WebApplicationContext for use in the LoginServlet. Assumes the presence of a LoginManager bean in the application context with the name "loginManager".

Author:
bdferris

Constructor Summary
SpringLoginManagerFactory()
           
 
Method Summary
 org.onebusaway.everylastlogin.server.LoginManager createLoginManager(javax.servlet.ServletConfig config)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SpringLoginManagerFactory

public SpringLoginManagerFactory()
Method Detail

createLoginManager

public org.onebusaway.everylastlogin.server.LoginManager createLoginManager(javax.servlet.ServletConfig config)
                                                                     throws javax.servlet.ServletException
Specified by:
createLoginManager in interface org.onebusaway.everylastlogin.server.LoginManagerFactory
Throws:
javax.servlet.ServletException


Copyright © 2012 OneBusAway. All Rights Reserved.