com.atlassian.seraph.controller
Class NullSecurityController

java.lang.Object
  extended by com.atlassian.seraph.controller.NullSecurityController
All Implemented Interfaces:
SecurityController, Initable

public class NullSecurityController
extends Object
implements SecurityController

The default Seraph controller implementation will always enable security.

See Also:
SecurityController

Field Summary
 
Fields inherited from interface com.atlassian.seraph.controller.SecurityController
NULL_CONTROLLER
 
Constructor Summary
NullSecurityController()
           
 
Method Summary
 void init(Map<String,String> params, SecurityConfig config)
          Initialise the configuration object with the given "init-params".
 boolean isSecurityEnabled()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullSecurityController

public NullSecurityController()
Method Detail

isSecurityEnabled

public boolean isSecurityEnabled()
Specified by:
isSecurityEnabled in interface SecurityController

init

public void init(Map<String,String> params,
                 SecurityConfig config)
Description copied from interface: Initable
Initialise the configuration object with the given "init-params".

Specified by:
init in interface Initable
Parameters:
params - The map of "init-params" extracted from the Seraph config file. This is guaranteed not null.
config - The Seraph SecurityConfig class that is initialising the config objects. This object will only be partially initialised at this time.


Copyright © 2013 Atlassian. All Rights Reserved.