Class 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 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