1 package com.atlassian.seraph.controller;
2
3 import com.atlassian.seraph.Initable;
4
5 /**
6 * The SecurityController allows users to plug in and out a 'controller' class
7 * which can enable or disable Seraph, based on some settings in their app.
8 *
9 * This is most useful for disabling Seraph during certain times - ie during a setup wizard.
10 */
11 public interface SecurityController extends Initable
12 {
13 public static final String NULL_CONTROLLER = NullSecurityController.class.getName();
14
15 public boolean isSecurityEnabled();
16 }