/* * (non-Javadoc) * * @see play.Plugin#onStart() */ @Override public void onStart() { if (Auth.hasService()) { log.warn( "A auth service was already registered - replacing the old one, however this might hint to a configuration problem if this is a production environment."); } Auth.service(this); }
/* * (non-Javadoc) * * @see play.Plugin#onStop() */ @Override public void onStop() { Auth.service(null); }