KickJava   Java API By Example, From Geeks To Geeks.

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


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: TestSecurityServer.java,v $
31  * Revision 1.2 2005/04/09 17:19:11 colinmacleod
32  * Changed copyright text to GPL v2 explicitly.
33  *
34  * Revision 1.1.1.1 2005/03/10 17:50:14 colinmacleod
35  * Restructured ivata op around Hibernate/PicoContainer.
36  * Renamed ivata groupware.
37  *
38  * Revision 1.2 2004/11/12 15:57:08 colinmacleod
39  * Removed dependencies on SSLEXT.
40  * Moved Persistence classes to ivata masks.
41  *
42  * Revision 1.1 2004/11/03 15:38:00 colinmacleod
43  * First version in CVS.
44  *
45  * -----------------------------------------------------------------------------
46  */

47 package com.ivata.groupware.admin.security.server;
48
49 import com.ivata.groupware.admin.security.user.UserDO;
50 import com.ivata.mask.util.SystemException;
51
52 /**
53  * <p>
54  * TODO
55  * </p>
56  *
57  * @since Nov 2, 2004
58  * @author Colin MacLeod
59  * <a HREF='mailto:colin.macleod@ivata.com'>colin.macleod@ivata.com</a>
60  * @version $Revision: 1.2 $
61  */

62
63 public class TestSecurityServer implements SecurityServer {
64
65     /* (non-Javadoc)
66      * @see com.ivata.groupware.admin.security.server.SecurityServer#addUser(String, String)
67      */

68     public void addUser(final SecuritySession securitySession,
69             final String JavaDoc userName,
70             final String JavaDoc fullName)
71             throws SystemException {
72         // TODO Auto-generated method stub
73

74     }
75
76     /* (non-Javadoc)
77      * @see com.ivata.groupware.admin.security.server.SecurityServer#checkPassword(String, String)
78      */

79     public void checkPassword(final SecuritySession securitySession,
80             final String JavaDoc userName,
81             final String JavaDoc password)
82             throws SystemException {
83         // TODO Auto-generated method stub
84

85     }
86
87     /* (non-Javadoc)
88      * @see com.ivata.groupware.admin.security.server.SecurityServer#getSystemUserName(String)
89      */

90     public final String JavaDoc getSystemUserName(final SecuritySession securitySession,
91             final String JavaDoc userName) {
92         // TODO Auto-generated method stub
93
return null;
94     }
95
96     /* (non-Javadoc)
97      * @see com.ivata.groupware.admin.security.server.SecurityServer#getUserNameFromSystemUserName(String)
98      */

99     public final String JavaDoc getUserNameFromSystemUserName(final SecuritySession securitySession,
100             final String JavaDoc systemUserName) {
101         // TODO Auto-generated method stub
102
return null;
103     }
104
105     /**
106      * Refer to {@link }.
107      *
108      * @param userNameParam
109      * @return
110      * @see com.ivata.groupware.admin.security.server.SecurityServer#isUser(java.lang.String)
111      */

112     public boolean isUser(final SecuritySession securitySession,
113             final String JavaDoc userNameParam) {
114         // TODO Auto-generated method stub
115
return false;
116     }
117
118     /* (non-Javadoc)
119      * @see com.ivata.groupware.admin.security.server.SecurityServer#login(com.ivata.groupware.admin.security.user.UserDO, String)
120      */

121     public SecuritySession login(final UserDO user,
122             final String JavaDoc password)
123             throws SystemException {
124         // TODO Auto-generated method stub
125
return null;
126     }
127
128     /* (non-Javadoc)
129      * @see com.ivata.groupware.admin.security.server.SecurityServer#loginGuest()
130      */

131     public SecuritySession loginGuest() throws SystemException {
132         // TODO Auto-generated method stub
133
return null;
134     }
135
136     /* (non-Javadoc)
137      * @see com.ivata.groupware.admin.security.server.SecurityServer#removeUser(String)
138      */

139     public void removeUser(final SecuritySession securitySession,
140             final String JavaDoc userName) throws SystemException {
141         // TODO Auto-generated method stub
142

143     }
144
145     /* (non-Javadoc)
146      * @see com.ivata.groupware.admin.security.server.SecurityServer#setPassword(String, String)
147      */

148     public final void setPassword(final SecuritySession securitySession,
149             final String JavaDoc userName,
150             final String JavaDoc password)
151             throws SystemException {
152         // TODO Auto-generated method stub
153

154     }
155
156 }
157
Popular Tags