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.desktop.context;
06:
07: import java.util.Set;
08: import java.util.Locale;
09:
10: import javax.servlet.http.HttpServletRequest;
11: import com.iplanet.sso.SSOToken;
12:
13: interface ServiceContext {
14: public void init(HttpServletRequest req);
15:
16: public void init(SSOToken ssoToken);
17:
18: public void init(HttpServletRequest req, String uid, String pw);
19:
20: public String getDPContextClassName();
21:
22: public String getDPUserContextClassName();
23:
24: public String getContainerProviderContextClassName();
25:
26: public String getDebugContextClassName();
27:
28: public String getSessionContextClassName();
29:
30: public String getAuthlessSessionContextClassName();
31:
32: public String getWSRPSessionContextClassName();
33:
34: public String getTemplateContextClassName();
35:
36: public String getClientContextClassName();
37:
38: public String getProviderManagerContextClassName();
39:
40: public String getPropertiesContextClassName();
41:
42: public String getLocaleString();
43:
44: public String getDesktopType();
45:
46: public String getDefaultChannelName();
47:
48: public String getEditProviderContainerName();
49:
50: public String getLogoutURL();
51:
52: public String getLoginURL();
53:
54: public String getStringAttribute(String name);
55:
56: public String getStringAttribute(String name, Locale locale);
57:
58: public void setStringAttribute(String name, String val);
59:
60: public Set getRoles();
61: }
|