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 ChannelTaskAdminContextFactory {
17: public void init();
18:
19: public ChannelTaskAdminContext getChannelTaskAdminContext(
20: HttpServletRequest req) throws TaskAdminException;
21:
22: public ChannelTaskAdminContext getChannelTaskAdminContext(
23: HttpServletRequest req, boolean create)
24: throws TaskAdminException;
25:
26: public ChannelTaskAdminContext getChannelTaskAdminContext(
27: SSOToken ssoToken, String portalId)
28: throws TaskAdminException;
29:
30: public ChannelTaskAdminContext getChannelTaskAdminContext(
31: SSOToken ssoToken, String portalId, boolean create)
32: throws TaskAdminException;
33:
34: }
|