01: /**********************************************************************************
02: * $URL: https://source.sakaiproject.org/svn/authz/tags/sakai_2-4-1/authz-impl/impl/src/java/org/sakaiproject/authz/impl/SakaiSecurityTest.java $
03: * $Id: SakaiSecurityTest.java 7320 2006-04-01 20:03:17Z ggolden@umich.edu $
04: ***********************************************************************************
05: *
06: * Copyright (c) 2006 The Sakai Foundation.
07: *
08: * Licensed under the Educational Community License, Version 1.0 (the "License");
09: * you may not use this file except in compliance with the License.
10: * You may obtain a copy of the License at
11: *
12: * http://www.opensource.org/licenses/ecl1.php
13: *
14: * Unless required by applicable law or agreed to in writing, software
15: * distributed under the License is distributed on an "AS IS" BASIS,
16: * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17: * See the License for the specific language governing permissions and
18: * limitations under the License.
19: *
20: **********************************************************************************/package org.sakaiproject.authz.impl;
21:
22: import org.sakaiproject.authz.api.AuthzGroupService;
23: import org.sakaiproject.entity.api.EntityManager;
24: import org.sakaiproject.memory.api.MemoryService;
25: import org.sakaiproject.thread_local.api.ThreadLocalManager;
26: import org.sakaiproject.user.api.UserDirectoryService;
27:
28: /**
29: * <p>
30: * SakaiSecurity extends the Sakai security service providing the dependency injectors for testing.
31: * </p>
32: */
33: public class SakaiSecurityTest extends SakaiSecurity {
34: /**
35: * @return the ThreadLocalManager collaborator.
36: */
37: protected ThreadLocalManager threadLocalManager() {
38: return null;
39: }
40:
41: /**
42: * @return the AuthzGroupService collaborator.
43: */
44: protected AuthzGroupService authzGroupService() {
45: return null;
46: }
47:
48: /**
49: * @return the UserDirectoryService collaborator.
50: */
51: protected UserDirectoryService userDirectoryService() {
52: return null;
53: }
54:
55: /**
56: * @return the MemoryService collaborator.
57: */
58: protected MemoryService memoryService() {
59: return null;
60: }
61:
62: /**
63: * @return the EntityManager collaborator.
64: */
65: protected EntityManager entityManager() {
66: return null;
67: }
68: }
|