View Javadoc

1   package com.atlassian.seraph.config;
2   
3   import com.atlassian.seraph.auth.Authenticator;
4   import com.atlassian.seraph.auth.RoleMapper;
5   import com.atlassian.seraph.auth.AuthenticationContext;
6   import com.atlassian.seraph.controller.SecurityController;
7   
8   import java.util.List;
9   
10  public interface SecurityConfig
11  {
12      String STORAGE_KEY = "seraph_config";
13      String BASIC_AUTH = "basic";
14  
15      List getServices();
16  
17      String getLoginURL();
18  
19      String getLinkLoginURL();
20  
21      String getLogoutURL();
22  
23      String getOriginalURLKey();
24  
25      Authenticator getAuthenticator();
26  
27      AuthenticationContext getAuthenticationContext();
28  
29      SecurityController getController();
30  
31      RoleMapper getRoleMapper();
32  
33      List getInterceptors(Class desiredInterceptorClass);
34  
35      String getCookieEncoding();
36  
37  
38      /**
39       * @return The path to use for the autologin cookie
40       */
41      String getLoginCookiePath();
42  
43      String getLoginCookieKey();
44  
45      void destroy();
46  
47      String getAuthType();
48  
49      boolean isInsecureCookie();
50  
51      /**
52       * Autologin cookie age in seconds
53       */
54      int getAutoLoginCookieAge();
55  }