01: /**
02: * $Id: PSFTPortletConstants.java,v 1.3 2005/10/19 12:38:55 pg133018 Exp $
03: * Copyright 2004 Sun Microsystems, Inc. All
04: * rights reserved. Use of this product is subject
05: * to license terms. Federal Acquisitions:
06: * Commercial Software -- Government Users
07: * Subject to Standard License Terms and
08: * Conditions.
09: *
10: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
11: * are trademarks or registered trademarks of Sun Microsystems,
12: * Inc. in the United States and other countries.
13: */package com.sun.portal.psftportlet.common;
14:
15: /**
16: * This class defines the constants used by PeopleSoft portlets.
17: *
18: * @author Pradeep Gond
19: */
20:
21: public class PSFTPortletConstants {
22:
23: public static final String mappingResourceName = "PSFTUserMapping";
24:
25: // constants used in IWAYResponseParser
26: public static final String DELIM = ";";
27: public static final String DEFAULT_SEPARATOR = " ";
28: public static final String TYPE_SIMPLE = "simple";
29: public static final String TYPE_NESTED = "nested";
30: public static final String TYPE_COMPLEX = "complex";
31: public static final String RESULT = "result";
32: public static final String RECORD = "record";
33: public static final String ERROR = "error";
34: public static final String ROW = "row";
35: public static final String BLANK_RESULT = "<PS8/>";
36: public static final String DONE = "done";
37: public static final String NO_NESTED_TYPE_VALUE = "NO_NESTED_TYPE_VALUE";
38: public static final String SAME_NEW_ROOT = "SAME_NEW_ROOT";
39:
40: public static final String FORWARD = "FORWARD";
41: public static final String REVERSE = "REVERSE";
42:
43: public static final String SESSION_USERCONFIG = "userconfig";
44: public static final String PSFT_CONFIG_FILE_NAME = "psftconfig";
45:
46: public static final String NO_USER_CONFIG_PAGE = "/jsps/NoUserConfigError.jsp";
47: public static final String NO_USER_MAPPING_PAGE = "/jsps/NoUserMappingError.jsp";
48:
49: /* iWay Config Properties */
50: public static final String IWAY_HOME = "iway.homeDir";
51: public static final String IWAY_CONFIG = "iway.configDir";
52: public static final String IWAY_LOGLEVEL = "iway.logLevel";
53: public static final String IWAY_ADAPTER = "iway.adapterName";
54: public static final String IWAY_TARGET = "iway.targetName";
55: public static final String IWAY_URL = "iway.repositoryURL";
56: public static final String IWAY_USER = "iway.userName";
57: public static final String IWAY_PASSWORD = "iway.userPassword";
58:
59: /* SSO Adapter Properties */
60: public static final String PSFT_SSOA_CONFIG_PREF_NAME = "psft.ssoa.configname";
61: public static final String PSFT_SSOA_CHANNEL_PREF_NAME = "psft.ssoa.channelname";
62: public static final String HTTPREQ_ATTR_NAME = "javax.portlet.portletc.httpServletRequest";
63: public static final String SSOA_STATUS = "ssoAdapterStaus";
64: public static final String NO_SSOA_STATUS = "ssoAdapterNotFound";
65: public static final String NO_SSOA_CONFIG_STATUS = "ssoAdapterConfigNotFound";
66: public static final String VALID_SSOA_CONFIG_STATUS = "ssoAdapterConfigIsValid";
67: }
|