01: /*
02: * JOSSO: Java Open Single Sign-On
03: *
04: * Copyright 2004-2008, Atricore, Inc.
05: *
06: * This is free software; you can redistribute it and/or modify it
07: * under the terms of the GNU Lesser General Public License as
08: * published by the Free Software Foundation; either version 2.1 of
09: * the License, or (at your option) any later version.
10: *
11: * This software is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14: * Lesser General Public License for more details.
15: *
16: * You should have received a copy of the GNU Lesser General Public
17: * License along with this software; if not, write to the Free
18: * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
19: * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
20: */
21: package org.josso;
22:
23: import org.josso.auth.Authenticator;
24: import org.josso.gateway.audit.SSOAuditManager;
25: import org.josso.gateway.event.SSOEventManager;
26: import org.josso.gateway.identity.service.SSOIdentityManager;
27: import org.josso.gateway.session.service.SSOSessionManager;
28:
29: /**
30: *
31: * @author <a href="mailto:gbrigand@josso.org">Gianluca Brigandi</a>
32: * @version CVS $Id: SecurityDomain.java 508 2008-02-18 13:32:29Z sgonzalez $
33: */
34:
35: public interface SecurityDomain {
36:
37: /**
38: * Getter for this domain's Identity Manager instance.
39: */
40: SSOIdentityManager getIdentityManager();
41:
42: /**
43: * Setter for this domain's Identity Manager instance.
44: */
45: void setIdentityManager(SSOIdentityManager im);
46:
47: /**
48: * Getter for this domain's Session Manager instance.
49: */
50: SSOSessionManager getSessionManager();
51:
52: /**
53: * Setter for this domain's Session Manager instance.
54: */
55: void setSessionManager(SSOSessionManager sm);
56:
57: /**
58: * Getter for this domain's Authenticator instance.
59: */
60: Authenticator getAuthenticator();
61:
62: /**
63: * Setter for this domain's Authenticator instance.
64: */
65: void setAuthenticator(Authenticator a);
66:
67: /**
68: * Getter for this domain's Audit Manager Instance
69: */
70: SSOAuditManager getAuditManager();
71:
72: /**
73: * Setter for this domain's Audit Manager Instance
74: */
75: void setAuditManager(SSOAuditManager am);
76:
77: /**
78: * Getter for this domain's Event Manager instance.
79: */
80: SSOEventManager getEventManager();
81:
82: /**
83: * Setter for this domain's Event Manager instance.
84: */
85: void setEventManager(SSOEventManager em);
86:
87: /**
88: * Getter for this domain's name
89: */
90: String getName();
91:
92: /**
93: * Setter for this domain's name
94: */
95: void setName(String name);
96:
97: }
|