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: * Security Domain default implementation.
31: *
32: * @author <a href="mailto:gbrigand@josso.org">Gianluca Brigandi</a>
33: * @version CVS $Id: SecurityDomainImpl.java 508 2008-02-18 13:32:29Z sgonzalez $
34: */
35:
36: public class SecurityDomainImpl implements SecurityDomain {
37:
38: private SSOIdentityManager ssoIdentityManager;
39: private SSOSessionManager ssoSessionManager;
40: private Authenticator authenticator;
41: private SSOAuditManager ssoAuditManager;
42: private SSOEventManager ssoEventManager;
43:
44: private String name;
45:
46: public SSOIdentityManager getIdentityManager() {
47: return this .ssoIdentityManager;
48: }
49:
50: public void setIdentityManager(SSOIdentityManager ssoIdentityManager) {
51: this .ssoIdentityManager = ssoIdentityManager;
52: }
53:
54: public SSOSessionManager getSessionManager() {
55: return this .ssoSessionManager;
56: }
57:
58: public void setSessionManager(SSOSessionManager ssoSessionManager) {
59: this .ssoSessionManager = ssoSessionManager;
60: }
61:
62: public Authenticator getAuthenticator() {
63: return this .authenticator;
64: }
65:
66: public void setAuthenticator(Authenticator authenticator) {
67: this .authenticator = authenticator;
68: }
69:
70: public void setName(String name) {
71: this .name = name;
72: }
73:
74: public String getName() {
75: return this .name;
76: }
77:
78: public SSOAuditManager getAuditManager() {
79: return this .ssoAuditManager;
80: }
81:
82: public void setAuditManager(SSOAuditManager ssoAuditManager) {
83: this .ssoAuditManager = ssoAuditManager;
84: }
85:
86: public SSOEventManager getEventManager() {
87: return ssoEventManager;
88: }
89:
90: public void setEventManager(SSOEventManager ssoEventManager) {
91: this.ssoEventManager = ssoEventManager;
92: }
93:
94: }
|