KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > ivata > groupware > admin > security > server > PlainTextSecuritySession


1 /*
2  * Copyright (c) 2001 - 2005 ivata limited.
3  * All rights reserved.
4  * -----------------------------------------------------------------------------
5  * ivata groupware may be redistributed under the GNU General Public
6  * License as published by the Free Software Foundation;
7  * version 2 of the License.
8  *
9  * 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.3 2005/04/10 19:39:23 colinmacleod
32  * Cosmetic changes.
33  *
34  * Revision 1.2 2005/04/09 17:19:57 colinmacleod
35  * Changed copyright text to GPL v2 explicitly.
36  *
37  * Revision 1.1.1.1 2005/03/10 17:51:41 colinmacleod
38  * Restructured ivata op around Hibernate/PicoContainer.
39  * Renamed ivata groupware.
40  *
41  * Revision 1.2 2004/11/12 15:57:18 colinmacleod
42  * Removed dependencies on SSLEXT.
43  * Moved Persistence classes to ivata masks.
44  *
45  * Revision 1.1 2004/09/30 15:15:58 colinmacleod
46  * Split off addressbook elements into security subproject.
47  *
48  * Revision 1.2 2004/07/13 19:41:12 colinmacleod
49  * Moved project to POJOs from EJBs.
50  * Applied PicoContainer to services layer (replacing session EJBs).
51  * Applied Hibernate to persistence layer (replacing entity EJBs).
52  *
53  * Revision 1.1 2004/03/21 20:16:24 colinmacleod
54  * First version. Plain text security server allows for open portal to function without a mail server.
55  * -----------------------------------------------------------------------------
56  */

57 package com.ivata.groupware.admin.security.server;
58
59 import org.picocontainer.PicoContainer;
60
61 import com.ivata.groupware.admin.security.user.UserDO;
62 import com.ivata.mask.util.SystemException;
63
64 /**
65  * Very simple implementation of security session, for use with plain text
66  * password verification.
67  *
68  * @author Colin MacLeod
69  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
70  * @since 2004-05-11
71  * @version $Revision: 1.3 $
72  */

73 public class PlainTextSecuritySession extends AbstractSecuritySession {
74     /**
75      * Construct a security session for the user with the name given.
76      *
77      * @param user currently logged in user.
78      */

79     public PlainTextSecuritySession(PicoContainer container, UserDO user)
80             throws SystemException {
81         super(container, user);
82     }
83 }
84
Popular Tags