KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > atlassian > seraph > controller > NullSecurityController


1 package com.atlassian.seraph.controller;
2
3 import com.atlassian.seraph.config.SecurityConfig;
4
5 import java.util.Map JavaDoc;
6
7 /**
8  * The default Seraph controller implementation will always enable security.
9  *
10  * @see SecurityController
11  */

12 public class NullSecurityController implements SecurityController
13 {
14     public boolean isSecurityEnabled()
15     {
16         return true;
17     }
18
19     public void init(Map JavaDoc params, SecurityConfig config)
20     {
21     }
22 }
23
Popular Tags