01: /*
02: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
03: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
04: */
05: package com.sun.portal.taskadmin.context;
06:
07: import java.util.Set;
08:
09: import javax.servlet.ServletContext;
10: import javax.servlet.http.HttpServletRequest;
11:
12: import com.iplanet.sso.SSOToken;
13:
14: import com.sun.portal.taskadmin.TaskAdminException;
15:
16: public interface TaskAdminContextFactory {
17: public void init();
18:
19: public TaskAdminContext getTaskAdminContext(HttpServletRequest req)
20: throws TaskAdminException;
21:
22: public TaskAdminContext getTaskAdminContext(HttpServletRequest req,
23: boolean create) throws TaskAdminException;
24:
25: public TaskAdminContext getTaskAdminContext(SSOToken ssoToken,
26: String portalId) throws TaskAdminException;
27:
28: public TaskAdminContext getTaskAdminContext(SSOToken ssoToken,
29: boolean create, String portalId) throws TaskAdminException;
30:
31: }
|