001: /**
002: * Copyright 2002 Sun Microsystems, Inc. All
003: * rights reserved. Use of this product is subject
004: * to license terms. Federal Acquisitions:
005: * Commercial Software -- Government Users
006: * Subject to Standard License Terms and
007: * Conditions.
008: *
009: * Sun, Sun Microsystems, the Sun logo, and Sun ONE
010: * are trademarks or registered trademarks of Sun Microsystems,
011: * Inc. in the United States and other countries.
012: *
013: * @ Author vr121038
014: */package com.sun.portal.proxylet.util;
015:
016: /**
017: * Class defines all IS attribute names and constants used across Proxylet modules
018: * Known implementing classes:
019: * com.sun.portal.proxylet.provider.ProxyletProvider
020: */
021: public interface ProxyletConstants {
022:
023: /**
024: * Proxylet Service Name.
025: */
026: public static final String PROXYLET_SERVICE_NAME = "srapProxyletService";
027:
028: /**
029: * Proxylet policy attribute.
030: */
031: public static final String PROXYLET_POLICY = "sunPortalProxyletExecute";
032:
033: /**
034: * Proxylet provider localization file name.
035: */
036: public static final String PROXYLET_PROVIDER_RES_BUNDLE = "srapProxyletProvider";
037:
038: /**
039: * Proxylet servlet properties file name.
040: */
041: public static final String PROXYLET_SERVLET_RES_BUNDLE = "srapProxyletServlet";
042:
043: /**
044: * Proxylet provider Application URL localization file name
045: */
046: public static final String PROXYLET_PROVIDER_APPURL_RES_BUNDLE = "srapProxyletAppUrl";
047:
048: /**
049: * Proxylet header name
050: */
051: public static final String PROXYLET_HEADER = "PS-Proxylet";
052:
053: /**
054: * Proxylet Auto Download.
055: */
056: public static final String PROXYLET_AUTO_DOWNLOAD = "sunPortalProxyletDownloadDefault";
057:
058: /**
059: * Proxylet client Port.
060: */
061: public static final String PROXYLET_CLIENT_BIND_PORT = "sunPortalProxyletPort";
062:
063: /**
064: * Proxylet client bind IP.
065: */
066: public static final String PROXYLET_CLIENT_BIND_IP = "sunPortalProxyletBindIP";
067:
068: /**
069: * Proxylet Store pacfile locally.
070: */
071: public static final String PROXYLET_STORE_PACFILE_LOCALLY = "sunPortalProxyletStorePacfileLocally";
072:
073: /**
074: * Proxylet Ruleset.
075: */
076: public static final String PROXYLET_RULES = "sunPortalProxyletRules";
077:
078: /**
079: * Proxylet default client bind IP.
080: */
081: public static final String PROXYLET_DEFAULT_CLIENT_BIND_IP = "127.0.0.1";
082:
083: /**
084: * Proxylet default client bind Port.
085: */
086: public static final int PROXYLET_DEFAULT_CLIENT_BIND_PORT = 58081;
087:
088: /**
089: * Proxylet Default pacfile location.
090: */
091: public static final String PROXYLET_DEFAULT_PACFILE_LOCATION = "proxy.pac";
092:
093: /**
094: * Proxylet command URI.
095: */
096: public static final String PROXYLET_COMMAND_URI = "/proxylet?command=loadProxylet";
097:
098: /**
099: * Domain list param name.
100: */
101: public static final String DOMAINLIST_PARAM = "domainList";
102:
103: /**
104: * followup param name.
105: */
106: public static final String FOLLOWUP_PARAM = "followUp";
107:
108: /**
109: *customized property file name
110: */
111: public static final String CUSTOMIZED_PROP_FILE = "propertyfile";
112:
113: /**
114: * Logout param name.
115: */
116: public static final String LOGOUT_PARAM = "logoutURL";
117:
118: /**
119: * Logout command URI.
120: */
121: public static final String LOGOUT_COMMAND_URI = "?action=logout";
122:
123: /**
124: * Gateway URL header name
125: */
126: public static final String GW_URL_HEADER = "PS-GW-URL";
127:
128: /**
129: * Gateway instance header name
130: */
131: public static final String GW_INSTANCE_HEADER = "PS-GW-Instance";
132:
133: /**
134: * Properties to fetch Gateway profile and domain list
135: */
136: public static final String GW_SERVICE_NAME = "srapGatewayService";
137: public static final String GW_SUB_SCHEMA_NAME = "Gateway-Profiles";
138: public static final String GW_DOMAIN_SUBDOMIAN_NAME = "sunPortalGatewayDomainsAndSubdomains";
139:
140: /**
141: * Download manager port
142: */
143: public static final String DOWNLOAD_MANAGER_PORT = "58082";
144:
145: /**
146: * Proxylet launch mode - applet or jws
147: */
148: public static final String PROXYLET_LAUNCH_MODE = "sunPortalProxyletLaunchMode";
149: public static final String PROXYLET_LAUNCH_MODE_DEFAULT = "Applet";
150:
151: /**
152: * Proxylet Portal URL
153: */
154: public static final String PROXYLET_PORTAL_URL = "portalurl";
155:
156: public static final String PROXYLET_APP_URLS = "sunPortalProxyletAppUrls";
157: public static final String PROXYLET_COMMAND_JWS = "/proxylet?command=loadJWSApp";
158: public static final String PROXYLET_COMMAND_APP = "/proxylet?command=loadApp";
159: public static final String PROXYLET_PACFILE_LOCATION = "sunPortalProxyletPacLocation";
160: }
|