org.scalatra.auth.ScentryInitializer.scala Maven / Gradle / Ivy
package org.scalatra.auth
import javax.servlet.{ ServletContextEvent, ServletContextListener }
/**
* This seems like an ideal place to register global strategies
*/
abstract class ScentryInitializer extends ServletContextListener {
def contextDestroyed(e: ServletContextEvent): Unit = {
Scentry.globalStrategies.clear
}
def contextInitialized(e: ServletContextEvent): Unit
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy