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 bs126381
014: */package com.sun.portal.netlet.util;
015:
016: /**
017: * Class defines all IS attribute names and constants used across Netlet modules
018: * Known implementing classes: com.sun.portal.netlet.provider.NetletProvider
019: * com.sun.portal.netlet.servlet.NetletConfig
020: * com.sun.portal.netlet.util.UserAttributes
021: */
022: public interface NetletConstants {
023:
024: /**
025: * Netlet Service Name.
026: */
027: public static final String NETLET_SERVICE_NAME = "srapNetletService";
028:
029: /**
030: * Netlet servlet localization file name.
031: */
032: public static final String NETLET_SERVLET_RES_BUNDLE = "srapNetletServlet";
033:
034: /**
035: * Netlet applet localization file name.
036: */
037: public static final String NETLET_APPLET_RES_BUNDLE = "srapNetletApplet";
038:
039: /**
040: * Netlet provider localization file name.
041: */
042: public static final String NETLET_PROVIDER_RES_BUNDLE = "srapNetletProvider";
043:
044: /**
045: * Cipher selected by the user in Netlet Edit Provider.
046: */
047: public static final String NETLET_USER_CIPHER = "sunPortalNetletUserCipher";
048:
049: /**
050: * Default cipher selected by the user through Admin console GUI for Native
051: * VM.
052: */
053: public static final String NETLET_KSSL_DEFAULT_CIPHER = "sunPortalNetletKSSLDefaultCipher";
054:
055: /**
056: * Default cipher selected by the user through Admin console GUI for Native
057: * VM.
058: */
059: public static final String NETLET_JSSE_DEFAULT_CIPHER = "sunPortalNetletJSSEDefaultCipher";
060:
061: /**
062: * Default cipher selected by the user through Admin console GUI.
063: */
064: public static final String NETLET_KSSL_DEFAULT_CIPHER_VALUE = "KSSL_SSL3_RSA_WITH_RC4_128_MD5";
065:
066: /**
067: * Default cipher selected by the user through Admin console GUI.
068: */
069: public static final String NETLET_JSSE_DEFAULT_CIPHER_VALUE = "SSL_RSA_WITH_RC4_128_MD5";
070:
071: /**
072: * Port warning for every new connection the user establishes.
073: */
074: public static final String NETLET_PORT_WARN = "sunPortalNetletPortWarn";
075:
076: /**
077: * Choice of displaying checkbox in PortWarn dialog box.
078: */
079: public static final String NETLET_PORT_WARN_CB = "sunPortalNetletPortWarnCheckBox";
080:
081: /**
082: * Reauthentication flag.
083: */
084: public static final String NETLET_DO_REAUTH = "sunPortalNetletDoReauth";
085:
086: /**
087: * Netlet Launch Mode - Applet/JWS
088: */
089: public static final String NETLET_LAUNCH_MODE = "sunPortalNetletLaunchMode";
090:
091: /**
092: * Key size specifications for each Cipher.
093: */
094: public static final String[] NETLET_CIPHERS = {
095: "KSSL_SSL3_RSA_WITH_3DES_EDE_CBC_SHA",
096: "KSSL_SSL3_RSA_WITH_RC4_128_MD5",
097: "KSSL_SSL3_RSA_WITH_RC4_128_SHA",
098: "KSSL_SSL3_RSA_EXPORT_WITH_RC4_40_MD5",
099: "KSSL_SSL3_RSA_WITH_DES_CBC_SHA",
100: "SSL_RSA_WITH_3DES_EDE_CBC_SHA",
101: "SSL_RSA_WITH_RC4_128_MD5", "SSL_RSA_WITH_RC4_128_SHA",
102: "SSL_RSA_EXPORT_WITH_RC4_40_MD5",
103: "SSL_RSA_WITH_DES_CBC_SHA", "SSL_RSA_WITH_NULL_MD5" };
104:
105: /**
106: * Client loopback port.
107: */
108: public static final String NETLET_CLIENT_LOOPBACK = "sunPortalNetletClientLoopbackPort";
109:
110: /**
111: * Terminate netlet window at logout
112: */
113: public static final String NETLET_TERMINATE_AT_LOGOUT = "sunPortalNetletTerminateAtLogout";
114:
115: /**
116: * Netlet rules.
117: */
118: public static final String NETLET_RULES = "sunPortalNetletRules";
119:
120: /**
121: * Netlet access to rules.
122: */
123: public static final String NETLET_ACCESS_RULES = "sunPortalNetletAccessRules";
124:
125: /**
126: * Netlet access to rules.
127: */
128: public static final String NETLET_DENY_RULES = "sunPortalNetletDenyRules";
129:
130: /**
131: * Netlet access to rules.
132: */
133: public static final String NETLET_ACCESS_HOSTS = "sunPortalNetletAccessHosts";
134:
135: /**
136: * Netlet access to rules.
137: */
138: public static final String NETLET_DENY_HOSTS = "sunPortalNetletDenyHosts";
139:
140: /**
141: * Browser proxy type : DIRECT/MANUAL.
142: */
143: public static final String NETLET_PROXY_TYPE = "sunPortalNetletProxyType";
144:
145: /**
146: * Browser proxy host, used if proxyType if MANUAL.
147: */
148: public static final String NETLET_PROXY_HOST = "sunPortalNetletProxyHost";
149:
150: /**
151: * Browser proxy port.
152: */
153: public static final String NETLET_PROXY_PORT = "sunPortalNetletProxyPort";
154:
155: /**
156: * Browser proxy override list, comma separated.
157: */
158: public static final String NETLET_PROXY_OVERRIDE = "sunPortalNetletProxyOverride";
159:
160: /**
161: * Netlet reauthentication password.
162: */
163: public static final String NETLET_PASSWORD = "sunPortalNetletPassword";
164:
165: /**
166: * Default Netlet password, a constant.
167: */
168: public static final String NETLET_DEFAULT_PASSWORD = "srap-netlet";
169:
170: /**
171: * Netlet policy attribute.
172: */
173: public static final String NETLET_POLICY = "sunPortalNetletExecute";
174:
175: /**
176: * Key to IS cookie name, stored in AMConfig.properties.
177: */
178: public static final String IS_COOKIE_KEY = "com.iplanet.am.cookie.name";
179:
180: /**
181: * Default IS cookie name.
182: */
183: public static final String IS_DEFAULT_COOKIE_NAME = "iPlanetDirectoryPro";
184:
185: /**
186: * AMUser service name.
187: */
188: public static final String IS_USER_SERVICE = "iPlanetAMUserService";
189:
190: /**
191: * AMAuth service name.
192: */
193: public static final String IS_AUTH_SERVICE = "iPlanetAMAuthService";
194:
195: /**
196: * AMUser attribute prefix.
197: */
198: public static final String IS_USER_ATTR_PREFIX = "iplanet-am-user-";
199:
200: /**
201: * AMAuth attribue prefix.
202: */
203: public static final String IS_AUTH_ATTR_PREFIX = "iplanet-am-auth-";
204:
205: /**
206: * User's default redirect URL.
207: */
208: public static final String USER_DEFAULT_URL = "iplanet-am-auth-default-url";
209:
210: /**
211: * User's preferred locale.
212: */
213: public static final String USER_PREFERRED_LOCALE = "preferredlocale";
214:
215: /**
216: * Netlet header name
217: */
218: public static final String NETLET_HEADER = "PS-Netlet";
219:
220: /**
221: * Netlet extend session flag.
222: */
223: public static final String NETLET_EXTEND_SESSION = "EXTEND";
224:
225: /**
226: * Netlet target host keyword.
227: */
228: public static final String NETLET_TARGET_HOST = "TARGET";
229:
230: /**
231: * Netlet client bind IP.
232: */
233: public static final String NETLET_CLIENT_BIND_IP = "sunPortalNetletClientBindIP";
234:
235: /**
236: * Netlet default client bind IP.
237: */
238: public static final String NETLET_DEFAULT_CLIENT_BIND_IP = "127.0.0.1";
239:
240: /**
241: * Choice of keeping JWS Window minimized.
242: */
243: public static final String JWS_KEEP_MIN_CB = "sunPortalNetletKeepJWSWinMinimized";
244:
245: /*
246: * Download netlet at logon time.
247: */
248: public static final String NETLET_DOWNLOAD_AUTOMATICALLY = "sunPortalNetletDownloadDefault";
249: }
|