Source Code Cross Referenced for GatewayElements.java in  » Portal » Open-Portal » migration » modules » srap » erproxy » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Portal » Open Portal » migration.modules.srap.erproxy 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /*
002:         * Copyright 2001 Sun Microsystems, Inc.  All rights reserved.
003:         * PROPRIETARY/CONFIDENTIAL.  Use of this product is subject to license terms.
004:         */
005:        package migration.modules.srap.erproxy;
006:
007:        import java.util.HashMap;
008:        import java.util.ArrayList;
009:        import java.util.Vector;
010:
011:        /*
012:         * ips3.0 to iPS 6.0 attributes mapping information for the Gateway component.
013:         */
014:
015:        public class GatewayElements {
016:            static public String DEPLOY_URI = "/portal";
017:            static public String IDSAME_AMSERVER = "/amserver";
018:            static public final int ALLOW_40BIT_BROWSER = 0;
019:            static public final int TRANSLATE_ALL = 1;
020:            static public final int CERTIFICATE_ENABLED_LIST = 2;
021:            static public final int DO_BASIC_AUTHENTICATION = 3;
022:            static public final int FORWARD_COOKIE_URL = 4;
023:            static public final int COOKIE_MANAGAEMENT = 5;
024:            static public final int USE_PROXY = 6;
025:            static public final int USE_WEBPROXY_URL = 7;
026:            static public final int DONT_USE_WEBPROXY_URL = 8;
027:            static public final int DOMAINS_AND_SUBDOMAINS = 9;
028:            static public final int EPROXY_PORT = 10;
029:            static public final int EPROXY_PROTOCOL = 11;
030:            static public final int NON_AUTHENTICATED_URL_PATHS = 12;
031:            static public final int USE_HTTP_PROXY = 13;
032:            //static public final	int  HTTP_PROXY_PORT                = 14;
033:            static public final int USE_NETLET_PROXY = 15;
034:            //static public final	int  NETLET_PROXY_PORT              = 16;
035:            static public final int LOGGING_ENABLED = 17;
036:            static public final int RPROXY_PORT_TIMEOUT = 18;
037:            //    static public final	int  MAX_SOCKETS                    = 19;
038:            static public final int MAX_THREAD_POOL_SIZE = 20;
039:            static public final int BLOCKED_SOCKET_TIMEOUT = 21;
040:            //static public final	int  SECURE_URL                     = 22;
041:            static public final int EPROXY_CONN_QUEUE = 23;
042:            //static public final	int  WT_NOTIFICATION_URL            = 24;
043:            static public final int MIMETYPE_TRANSLATOR_CLASS = 25;
044:
045:            public static HashMap getIPS3AttributeMappings() {
046:                HashMap sourcemap = new HashMap();
047:                sourcemap.put("iwtGateway-Allow40bitBrowser", new Integer(
048:                        GatewayElements.ALLOW_40BIT_BROWSER));
049:                sourcemap.put("iwtGateway-TranslateAll", new Integer(
050:                        GatewayElements.TRANSLATE_ALL));
051:                sourcemap.put("iwtGateway-certificateEnabledList", new Integer(
052:                        GatewayElements.CERTIFICATE_ENABLED_LIST));
053:                sourcemap.put("iwtGateway-DoBasicAuthentication", new Integer(
054:                        GatewayElements.DO_BASIC_AUTHENTICATION));
055:                sourcemap.put("iwtGateway-ForwardCookieURL", new Integer(
056:                        GatewayElements.FORWARD_COOKIE_URL));
057:                sourcemap.put("iwtGateway-cookieManagement", new Integer(
058:                        GatewayElements.COOKIE_MANAGAEMENT));
059:                sourcemap.put("iwtGateway-UseProxy", new Integer(
060:                        GatewayElements.USE_PROXY));
061:                sourcemap.put("iwtGateway-UseWebProxyURL", new Integer(
062:                        GatewayElements.USE_WEBPROXY_URL));
063:                sourcemap.put("iwtGateway-DontUseWebProxyURL", new Integer(
064:                        GatewayElements.DONT_USE_WEBPROXY_URL));
065:                sourcemap.put("iwtGateway-DomainsAndSubdomains", new Integer(
066:                        GatewayElements.DOMAINS_AND_SUBDOMAINS));
067:                sourcemap.put("iwtGateway-EProxyPort", new Integer(
068:                        GatewayElements.EPROXY_PORT));
069:                sourcemap.put("iwtGateway-EProxyProtocol", new Integer(
070:                        GatewayElements.EPROXY_PROTOCOL));
071:                sourcemap
072:                        .put(
073:                                "iwtGateway-NonAuthenticatedURLPaths",
074:                                new Integer(
075:                                        GatewayElements.NON_AUTHENTICATED_URL_PATHS));
076:                sourcemap.put("iwtGateway-UseHTTPProxy", new Integer(
077:                        GatewayElements.USE_HTTP_PROXY));
078:                //sourcemap.put("iwtGateway-httpproxy-port", new Integer(GatewayElements.HTTP_PROXY_PORT));
079:                sourcemap.put("iwtGateway-UseNetletProxy", new Integer(
080:                        GatewayElements.USE_NETLET_PROXY));
081:                //sourcemap.put("iwtGateway-netletproxy-port", new Integer(GatewayElements.NETLET_PROXY_PORT));
082:                sourcemap.put("iwtGateway-LoggingEnabled", new Integer(
083:                        GatewayElements.LOGGING_ENABLED));
084:                sourcemap.put("iwtGateway-RProxyPortTimeout", new Integer(
085:                        GatewayElements.RPROXY_PORT_TIMEOUT));
086:                //sourcemap.put("iwtGateway-MaxSockets", new Integer(GatewayElements.MAX_SOCKETS));
087:                sourcemap.put("iwtGateway-MaxThreadPoolSize", new Integer(
088:                        GatewayElements.MAX_THREAD_POOL_SIZE));
089:                sourcemap.put("iwtGateway-BlockedSocketTimeout", new Integer(
090:                        GatewayElements.BLOCKED_SOCKET_TIMEOUT));
091:                //sourcemap.put("iwtGateway-secureURL", new Integer(GatewayElements.SECURE_URL));
092:                sourcemap.put("iwtGateway-EproxyConnQueue", new Integer(
093:                        GatewayElements.EPROXY_CONN_QUEUE));
094:                //sourcemap.put("iwtGateway-wt-notification-url", new Integer(GatewayElements.WT_NOTIFICATION_URL));
095:                sourcemap.put("iwtGateway-MimeTypeTranslatorClass",
096:                        new Integer(GatewayElements.MIMETYPE_TRANSLATOR_CLASS));
097:                return sourcemap;
098:            }
099:
100:            public static HashMap getIPS6InstAttributes() {
101:                HashMap destmap = new HashMap();
102:
103:                ArrayList list2 = new ArrayList();
104:                list2.add("true");
105:                list2.trimToSize();
106:                destmap
107:                        .put(
108:                                new Integer(GatewayElements.ALLOW_40BIT_BROWSER),
109:                                SRAPUtil
110:                                        .getSRAPInstAttribute(
111:                                                "sunPortalGatewayAllow40BitConnections",
112:                                                list2));
113:
114:                ArrayList list3 = new ArrayList();
115:                list3.add("false");
116:                list3.trimToSize();
117:                destmap.put(new Integer(GatewayElements.TRANSLATE_ALL),
118:                        SRAPUtil.getSRAPInstAttribute(
119:                                "sunPortalGatewayTranslateAll", list3));
120:
121:                destmap.put(new Integer(
122:                        GatewayElements.CERTIFICATE_ENABLED_LIST), SRAPUtil
123:                        .getSRAPInstAttribute(
124:                                "sunPortalGatewayCertificateEnabledList",
125:                                new ArrayList()));
126:
127:                ArrayList list4 = new ArrayList();
128:                list4.add("true");
129:                list4.trimToSize();
130:                destmap
131:                        .put(
132:                                new Integer(
133:                                        GatewayElements.DO_BASIC_AUTHENTICATION),
134:                                SRAPUtil
135:                                        .getSRAPInstAttribute(
136:                                                "sunPortalGatewayDoBasicAuthentication",
137:                                                list4));
138:
139:                destmap.put(new Integer(GatewayElements.FORWARD_COOKIE_URL),
140:                        SRAPUtil.getSRAPInstAttribute(
141:                                "sunPortalGatewayForwardCookieURL",
142:                                new ArrayList()));
143:
144:                ArrayList list6 = new ArrayList();
145:                list6.add("false");
146:                list6.trimToSize();
147:                destmap.put(new Integer(GatewayElements.COOKIE_MANAGAEMENT),
148:                        SRAPUtil.getSRAPInstAttribute(
149:                                "sunPortalGatewayCookieManagement", list6));
150:
151:                destmap.put(new Integer(GatewayElements.USE_PROXY), SRAPUtil
152:                        .getSRAPInstAttribute("sunPortalGatewayUseProxy",
153:                                new ArrayList()));
154:
155:                destmap.put(new Integer(GatewayElements.USE_WEBPROXY_URL),
156:                        SRAPUtil.getSRAPInstAttribute(
157:                                "sunPortalGatewayUseWebProxyURL",
158:                                new ArrayList()));
159:
160:                destmap.put(new Integer(GatewayElements.DONT_USE_WEBPROXY_URL),
161:                        SRAPUtil.getSRAPInstAttribute(
162:                                "sunPortalGatewayDontUseWebProxyURL",
163:                                new ArrayList()));
164:
165:                destmap.put(
166:                        new Integer(GatewayElements.DOMAINS_AND_SUBDOMAINS),
167:                        SRAPUtil.getSRAPInstAttribute(
168:                                "sunPortalGatewayDomainsAndSubdomains",
169:                                new ArrayList()));
170:
171:                ArrayList list9 = new ArrayList();
172:                list9.add(IDSAME_AMSERVER + "/images");
173:                list9.add(IDSAME_AMSERVER + "/login_images");
174:                list9.add(IDSAME_AMSERVER + "/js");
175:                list9.add(IDSAME_AMSERVER + "/css");
176:                list9.add(IDSAME_AMSERVER + "/console/images");
177:                list9.add(IDSAME_AMSERVER + "/console/css");
178:                list9.add(IDSAME_AMSERVER + "/console/js");
179:
180:                list9.add(DEPLOY_URI + "/images");
181:                list9.add(DEPLOY_URI + "/ipsdtSampleRSS/images");
182:                list9.add(DEPLOY_URI + "/searchadmin/images");
183:                list9.add(DEPLOY_URI + "/compass/images");
184:                list9.add(DEPLOY_URI + "/netmail/images");
185:                list9.add(DEPLOY_URI + "/desktop/images");
186:                list9.add(DEPLOY_URI + "/desktop/tabs/images");
187:                list9.add(DEPLOY_URI + "/netfile");
188:                list9.add(DEPLOY_URI + "/desktop/css");
189:                list9.add(DEPLOY_URI + "/console/images");
190:                list9.trimToSize();
191:                destmap.put(new Integer(
192:                        GatewayElements.NON_AUTHENTICATED_URL_PATHS), SRAPUtil
193:                        .getSRAPInstAttribute(
194:                                "sunPortalGatewayNonAuthenticatedURLPath",
195:                                list9));
196:
197:                ArrayList list10 = new ArrayList();
198:                list10.add("false");
199:                list10.trimToSize();
200:                destmap.put(new Integer(GatewayElements.USE_HTTP_PROXY),
201:                        SRAPUtil.getSRAPInstAttribute(
202:                                "sunPortalGatewayUseHTTPProxy", list10));
203:
204:                /*
205:                destmap.put( new Integer(GatewayElements.HTTP_PROXY_PORT),
206:                    SRAPUtil.getSRAPInstAttribute("sunPortalGatewayHTTPProxyPort", new ArrayList()) );
207:                 */
208:
209:                ArrayList list11 = new ArrayList();
210:                list11.add("false");
211:                list11.trimToSize();
212:                destmap.put(new Integer(GatewayElements.USE_NETLET_PROXY),
213:                        SRAPUtil.getSRAPInstAttribute(
214:                                "sunPortalGatewayUseNetletProxy", list11));
215:
216:                /*
217:                 // Netlet proxy is now a list as part of 6.0
218:                destmap.put( new Integer(GatewayElements.NETLET_PROXY_PORT),
219:                    SRAPUtil.getSRAPInstAttribute("sunPortalGatewayNetletProxyPort", new ArrayList()) );
220:                 */
221:
222:                ArrayList list12 = new ArrayList();
223:                list12.add("false");
224:                list12.trimToSize();
225:                destmap.put(new Integer(GatewayElements.LOGGING_ENABLED),
226:                        SRAPUtil.getSRAPInstAttribute(
227:                                "sunPortalGatewayLoggingEnabled", list12));
228:
229:                ArrayList list13 = new ArrayList();
230:                list13.add("120000");
231:                list13.trimToSize();
232:                destmap.put(new Integer(GatewayElements.RPROXY_PORT_TIMEOUT),
233:                        SRAPUtil.getSRAPInstAttribute(
234:                                "sunPortalGatewayRProxyPortTimeout", list13));
235:
236:                //        ArrayList list14 = new ArrayList();
237:                //        list14.add("2000");
238:                //        list14.trimToSize();
239:                //        destmap.put( new Integer(GatewayElements.MAX_SOCKETS),
240:                //            SRAPUtil.getSRAPInstAttribute("sunPortalGatewayMaxSockets", list14) );
241:
242:                ArrayList list15 = new ArrayList();
243:                list15.add("200");
244:                list15.trimToSize();
245:                destmap.put(new Integer(GatewayElements.MAX_THREAD_POOL_SIZE),
246:                        SRAPUtil.getSRAPInstAttribute(
247:                                "sunPortalGatewayMaxThreadPoolSize", list15));
248:
249:                ArrayList list16 = new ArrayList();
250:                list16.add("200000");
251:                list16.trimToSize();
252:                destmap
253:                        .put(
254:                                new Integer(
255:                                        GatewayElements.BLOCKED_SOCKET_TIMEOUT),
256:                                SRAPUtil.getSRAPInstAttribute(
257:                                        "sunPortalGatewayBlockedSocketTimeout",
258:                                        list16));
259:
260:                /*
261:                destmap.put( new Integer(GatewayElements.SECURE_URL),
262:                    SRAPUtil.getSRAPInstAttribute("iplanet-srap-gateway-secure-url", new ArrayList()) );
263:                 */
264:
265:                ArrayList list17 = new ArrayList();
266:                list17.add("50");
267:                list17.trimToSize();
268:                destmap
269:                        .put(
270:                                new Integer(GatewayElements.EPROXY_CONN_QUEUE),
271:                                SRAPUtil
272:                                        .getSRAPInstAttribute(
273:                                                "sunPortalGatewayEProxyConnectionQueue",
274:                                                list17));
275:
276:                //ArrayList list18 = new ArrayList();
277:                //list18.add("notification");
278:                //list18.trimToSize();
279:                //destmap.put( new Integer(GatewayElements.WT_NOTIFICATION_URL),
280:                //SRAPUtil.getSRAPInstAttribute("iplanet-srap-gateway-notification-url", list18) );
281:
282:                ArrayList list19 = new ArrayList();
283:                list19.add("HTML=text/html;text/htm;text/x-component");
284:                list19.add("JAVASCRIPT=application/x-javascript");
285:                list19.add("WML=text/wml");
286:                list19.add("XML=text/xml");
287:                destmap.put(new Integer(
288:                        GatewayElements.MIMETYPE_TRANSLATOR_CLASS),
289:                        SRAPUtil.getSRAPInstAttribute(
290:                                "sunPortalGatewayMIMEMap", list19));
291:
292:                return destmap;
293:            }
294:
295:            public static ArrayList getIPS6NewInstAttributes() {
296:                Vector newAttribs = new Vector();
297:
298:                ArrayList list = new ArrayList();
299:                list.add("false");
300:                list.trimToSize();
301:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
302:                        "sunPortalGatewayNetletLoggingEnabled", list));
303:
304:                /*ArrayList list0 = new ArrayList();
305:                list0.add("default");
306:                list0.trimToSize();
307:                newAttribs.addElement(
308:                    SRAPUtil.getSRAPInstAttribute("sunPortalGatewayNetletProxyHost", list0) );*/
309:
310:                ArrayList list1 = new ArrayList();
311:                list1.add("true");
312:                list1.trimToSize();
313:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
314:                        "sunPortalGatewayEnableSSLv2", list1));
315:
316:                ArrayList list2 = new ArrayList();
317:                list2.add("false");
318:                list2.trimToSize();
319:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
320:                        "sunPortalGatewayEnableIndividualCipherSelectionMode",
321:                        list2));
322:
323:                ArrayList list3 = new ArrayList();
324:                list3.add("SSL2_RC2_128_CBC_WITH_MD5");
325:                list3.add("SSL2_RC4_128_WITH_MD5");
326:                list3.add("SSL2_RC2_128_CBC_EXPORT40_WITH_MD5");
327:                list3.add("SSL2_RC4_128_EXPORT40_WITH_MD5");
328:                list3.add("SSL2_DES_64_CBC_WITH_MD5");
329:                list3.trimToSize();
330:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
331:                        "sunPortalGatewayEnabledSSL2CipherList", list3));
332:
333:                ArrayList list4 = new ArrayList();
334:                list4.add("SSL3_RSA_WITH_3DES_EDE_CBC_SHA");
335:                list4.add("SSL3_RSA_WITH_RC4_128_MD5");
336:                list4.add("SSL3_RSA_WITH_RC4_128_SHA");
337:                list4.add("SSL3_RSA_EXPORT_WITH_RC4_40_MD5");
338:                list4.add("SSL3_RSA_EXPORT_WITH_RC2_CBC_40_MD5");
339:                list4.add("SSL3_RSA_WITH_DES_CBC_SHA");
340:                list4.add("SSL3_RSA_WITH_NULL_MD5");
341:                list4.trimToSize();
342:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
343:                        "sunPortalGatewayEnabledSSL3CipherList", list4));
344:
345:                ArrayList list5 = new ArrayList();
346:                list5.add("TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA");
347:                list5.add("TLS_RSA_EXPORT1024_WITH_RC4_56_SHA");
348:                list5.trimToSize();
349:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
350:                        "sunPortalGatewayEnabledTLSCipherList", list5));
351:
352:                /*ArrayList list51 = new ArrayList();
353:                list51.add("default");
354:                list51.trimToSize();
355:                newAttribs.addElement(
356:                    SRAPUtil.getSRAPInstAttribute("sunPortalGatewayHostProxy", list51) );
357:
358:                ArrayList list52 = new ArrayList();
359:                list52.add("DIRECT_CONNECTION");
360:                list52.trimToSize();
361:                newAttribs.addElement(
362:                    SRAPUtil.getSRAPInstAttribute("sunPortalGatewayHostProxydirectconnection", list52) );
363:
364:                ArrayList list53 = new ArrayList();
365:                list53.add("Proxy|User|Password");
366:                list53.trimToSize();
367:                newAttribs.addElement(
368:                    SRAPUtil.getSRAPInstAttribute("sunPortalGatewayProxyPasswdList", list53) );
369:
370:                ArrayList list54 = new ArrayList();
371:                list54.add("India.Sun.COM|default_gateway_Ruleset");
372:                list54.trimToSize();
373:                newAttribs.addElement(
374:                    SRAPUtil.getSRAPInstAttribute("iplanet-srap-gateway-domains-and-Rulesets", list54) );*/
375:
376:                ArrayList list51 = new ArrayList();
377:                list51.add("false");
378:                list51.trimToSize();
379:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
380:                        "sunPortalGatewayEProxyPerSessionLogging", list51));
381:
382:                ArrayList list6 = new ArrayList();
383:                list6.add("false");
384:                list6.trimToSize();
385:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
386:                        "sunPortalGatewayEProxyDetailedPerSessionLogging",
387:                        list6));
388:
389:                ArrayList list7 = new ArrayList();
390:                list7.add("true");
391:                list7.trimToSize();
392:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
393:                        "sunPortalGatewayEProxyDoKeepAlive", list7));
394:
395:                ArrayList list8 = new ArrayList();
396:                list8.add("50");
397:                list8.trimToSize();
398:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
399:                        "sunPortalGatewayEProxyKeepAliveConnectionTimeout",
400:                        list8));
401:
402:                ArrayList list9 = new ArrayList();
403:                list9.add("20");
404:                list9.trimToSize();
405:                newAttribs
406:                        .addElement(SRAPUtil
407:                                .getSRAPInstAttribute(
408:                                        "sunPortalGatewayEProxyKeepAliveConnectionGraceTimeout",
409:                                        list9));
410:
411:                ArrayList list10 = new ArrayList();
412:                list10.add("10");
413:                list10.trimToSize();
414:                newAttribs
415:                        .addElement(SRAPUtil.getSRAPInstAttribute(
416:                                "sunPortalGatewayEProxyKeepAliveMaxConnection",
417:                                list10));
418:
419:                ArrayList list11 = new ArrayList();
420:                //list11.add("false");
421:                list11.add("true");
422:                list11.trimToSize();
423:                //newAttribs.addElement( SRAPUtil.getSRAPInstAttribute("iplanet-srap-gateway-eproxy-disable", list11) );
424:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
425:                        "sunPortalGatewayEProxyEnable", list11));
426:
427:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
428:                        "sunPortalGatewayDefaultDomainAndSubdomains",
429:                        new ArrayList()));
430:
431:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
432:                        "sunPortalGatewayDomainsAndRulesets", new ArrayList()));
433:
434:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
435:                        "sunPortalGatewayPortalServerList", new ArrayList()));
436:
437:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
438:                        "sunPortalGatewayPortalServerList", new ArrayList()));
439:
440:                ArrayList list12 = new ArrayList();
441:                list12.add("true");
442:                list12.trimToSize();
443:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
444:                        "sunPortalGatewayEnableSSLv3", list12));
445:
446:                ArrayList list13 = new ArrayList();
447:                list13.add("false");
448:                list13.trimToSize();
449:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
450:                        "sunPortalGatewayDisableNull", list13));
451:
452:                ArrayList list14 = new ArrayList();
453:                list14.add("false");
454:                list14.trimToSize();
455:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
456:                        "sunPortalGatewayEnableMIMEGuessing", list14));
457:
458:                ArrayList list15 = new ArrayList();
459:                list15.add("false");
460:                list15.trimToSize();
461:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
462:                        "sunPortalGatewayEnableMIMEGuessing", list15));
463:
464:                ArrayList list16 = new ArrayList();
465:                list16.add("HTML=*.html;*.htm;*.htc;*.jsp;*.cgi;");
466:                list16.add("JAVASCRIPT=*.js");
467:                list16.add("CSS=*.css");
468:                list16.add("XML=*.xml");
469:                list16.trimToSize();
470:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
471:                        "sunPortalGatewayParserToURIMap", list16));
472:
473:                ArrayList list17 = new ArrayList();
474:                list17.add("false");
475:                list17.trimToSize();
476:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
477:                        "sunPortalGatewayEnableObfuscation", list17));
478:
479:                ArrayList list18 = new ArrayList();
480:                list18.add("SECRET_KEY");
481:                list18.trimToSize();
482:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
483:                        "sunPortalGatewayObfuscationSecretKey", list18));
484:
485:                ArrayList list19 = new ArrayList();
486:                list19.add("false");
487:                list19.trimToSize();
488:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
489:                        "sunPortalGatewayUseConsistentProtocolForGateway",
490:                        list19));
491:
492:                ArrayList list20 = new ArrayList();
493:                list20.add("false");
494:                list20.trimToSize();
495:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
496:                        "sunPortalGatewayEnableCookieManager", list20));
497:
498:                ArrayList list21 = new ArrayList();
499:                list21.add("false");
500:                list21.trimToSize();
501:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
502:                        "sunPortalGatewayMapForceURLSession", list21));
503:
504:                ArrayList list22 = new ArrayList();
505:                list22.add("false");
506:                list22.trimToSize();
507:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
508:                        "sunPortalGatewayPACFileEnabled", list22));
509:
510:                ArrayList list23 = new ArrayList();
511:                list23.add("false");
512:                list23.trimToSize();
513:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
514:                        "sunPortalGatewayMarkCookiesSecure", list23));
515:
516:                ArrayList list24 = new ArrayList();
517:                list24.add("false");
518:                list24.trimToSize();
519:                newAttribs.addElement(SRAPUtil.getSRAPInstAttribute(
520:                        "sunPortalGatewayNetletProxyTunnel", list24));
521:
522:                newAttribs.trimToSize();
523:                return new ArrayList(newAttribs);
524:            }
525:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.