01: /*
02: * Copyright (c) 2001 - 2005 ivata limited.
03: * All rights reserved.
04: * -----------------------------------------------------------------------------
05: * ivata groupware may be redistributed under the GNU General Public
06: * License as published by the Free Software Foundation;
07: * version 2 of the License.
08: *
09: * These programs are free software; you can redistribute them and/or
10: * modify them under the terms of the GNU General Public License
11: * as published by the Free Software Foundation; version 2 of the License.
12: *
13: * These programs are distributed in the hope that they will be useful,
14: * but WITHOUT ANY WARRANTY; without even the implied warranty of
15: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
16: *
17: * See the GNU General Public License in the file LICENSE.txt for more
18: * details.
19: *
20: * If you would like a copy of the GNU General Public License write to
21: *
22: * Free Software Foundation, Inc.
23: * 59 Temple Place - Suite 330
24: * Boston, MA 02111-1307, USA.
25: *
26: *
27: * To arrange commercial support and licensing, contact ivata at
28: * http://www.ivata.com/contact.jsp
29: * -----------------------------------------------------------------------------
30: * $Log: PlainTextSecuritySession.java,v $
31: * Revision 1.4 2005/09/14 16:10:22 colinmacleod
32: * Removed unused local and class variables.
33: * Added serialVersionUID.
34: *
35: * Revision 1.3 2005/04/10 19:39:23 colinmacleod
36: * Cosmetic changes.
37: *
38: * Revision 1.2 2005/04/09 17:19:57 colinmacleod
39: * Changed copyright text to GPL v2 explicitly.
40: *
41: * Revision 1.1.1.1 2005/03/10 17:51:41 colinmacleod
42: * Restructured ivata op around Hibernate/PicoContainer.
43: * Renamed ivata groupware.
44: *
45: * Revision 1.2 2004/11/12 15:57:18 colinmacleod
46: * Removed dependencies on SSLEXT.
47: * Moved Persistence classes to ivata masks.
48: *
49: * Revision 1.1 2004/09/30 15:15:58 colinmacleod
50: * Split off addressbook elements into security subproject.
51: *
52: * Revision 1.2 2004/07/13 19:41:12 colinmacleod
53: * Moved project to POJOs from EJBs.
54: * Applied PicoContainer to services layer (replacing session EJBs).
55: * Applied Hibernate to persistence layer (replacing entity EJBs).
56: *
57: * Revision 1.1 2004/03/21 20:16:24 colinmacleod
58: * First version. Plain text security server allows for open portal to function without a mail server.
59: * -----------------------------------------------------------------------------
60: */
61: package com.ivata.groupware.admin.security.server;
62:
63: import org.picocontainer.PicoContainer;
64:
65: import com.ivata.groupware.admin.security.user.UserDO;
66: import com.ivata.mask.util.SystemException;
67:
68: /**
69: * Very simple implementation of security session, for use with plain text
70: * password verification.
71: *
72: * @author Colin MacLeod
73: * <a href='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
74: * @since 2004-05-11
75: * @version $Revision: 1.4 $
76: */
77: public class PlainTextSecuritySession extends AbstractSecuritySession {
78: /**
79: * Serialization version (for <code>Serializable</code> interface).
80: */
81: private static final long serialVersionUID = 1L;
82:
83: /**
84: * Construct a security session for the user with the name given.
85: *
86: * @param user currently logged in user.
87: */
88: public PlainTextSecuritySession(PicoContainer container, UserDO user)
89: throws SystemException {
90: super(container, user);
91: }
92: }
|