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.Locale;
08: import java.util.Set;
09: import com.iplanet.sso.SSOToken;
10: import javax.servlet.http.HttpServletRequest;
11:
12: public interface DPUserContext {
13: public void init(HttpServletRequest req);
14:
15: public void init(HttpServletRequest req, String uid, String pw);
16:
17: public void init(SSOToken token);
18:
19: public byte[] getDPUserDocument();
20:
21: public void storeDPUserDocument(String dp);
22:
23: public long getDPUserDocumentLastModified();
24:
25: public long getDPUserDocumentLastRead();
26:
27: public String getDPDocument(String name);
28:
29: public Set getDPDocumentNames();
30:
31: public long getDPDocumentLastModified(String name);
32:
33: public long getDPDocumentLastRead(String name);
34:
35: }
|