001: package com.sun.portal.sra.admin;
002:
003: public interface ConfigurationConstants {
004:
005: //---------------------------
006: // File separator
007: //---------------------------
008:
009: public final static String fs = "/";
010:
011: //----------------------------------
012: // Components
013: //----------------------------------
014:
015: public final static String COMP_BASE = "Portal Server";
016: public final static String COMP_YAHOO = "Yahoo Support";
017: public final static String COMP_WIRELESS = "Mobile Access Support";
018: public final static String COMP_SRA = "SRA Support";
019: public final static String COMP_SAMPLE_PORTAL = "Sample Portal";
020: public final static String COMP_SAMPLE_SRA = "Sample SRA";
021: public final static String COMP_GATEWAY = "Gateway";
022: public final static String COMP_NETLET_PROXY = "Netlet Proxy";
023: public final static String COMP_REWRITER_PROXY = "Rewriter Proxy";
024:
025: //----------------------------------
026: // JDK Basedir
027: //----------------------------------
028: public final static String JDK_DIR = "com.iplanet.am.jdk.path";
029:
030: //----------------------------------
031: // Deployment
032: //----------------------------------
033:
034: public final static String DEPLOY_TYPE = "DEPLOY_TYPE";
035: public static final String DEPLOY_DIR = "DEPLOY_DIR";
036: public static final String DEPLOY_VIRTUAL_HOST = "DEPLOY_VIRTUAL_HOST";
037: public static final String DEPLOY_NODE = "DEPLOY_NODE";
038: public static final String DEPLOY_DOMAIN = "DEPLOY_DOMAIN";
039: public static final String DEPLOY_INSTANCE = "DEPLOY_INSTANCE";
040: public static final String DEPLOY_DOCROOT = "DEPLOY_DOCROOT";
041: public static final String DEPLOY_ADMIN = "DEPLOY_ADMIN";
042: public static final String DEPLOY_ADMIN_PASSWORD = "DEPLOY_ADMIN_PASSWORD";
043: public static final String DEPLOY_ADMIN_PROTOCOL = "DEPLOY_ADMIN_PROTOCOL";
044: public static final String DEPLOY_ADMIN_HOST = "DEPLOY_ADMIN_HOST";
045: public static final String DEPLOY_ADMIN_PORT = "DEPLOY_ADMIN_PORT";
046: public static final String DEPLOY_URI = "DEPLOY_URI";
047: public static final String DEPLOY_NOW = "DEPLOY_NOW";
048: public static final String DEPLOY_INSTANCE_DIR = "DEPLOY_INSTANCE_DIR";
049:
050: public static final String DEPLOY_TYPE_IWS = "IWS";
051: public static final String DEPLOY_TYPE_SUNONE = "SUNONE";
052: public static final String DEPLOY_TYPE_SUNONE8 = "SUNONE8";
053: public static final String DEPLOY_TYPE_WEBLOGIC = "WEBLOGIC";
054: public static final String DEPLOY_TYPE_WEBSPHERE = "WEBSPHERE";
055:
056: //WebLogic specific deploy fields
057: public static final String DEPLOY_PROJECT_DIR = "DEPLOY_PROJECT_DIR";
058:
059: //Websphere specific deploy fields
060: public static final String DEPLOY_CELL = "DEPLOY_CELL";
061: public static final String DEPLOY_JDK_DIR = "DEPLOY_JDK_DIR";
062:
063: public static final String LOAD_BALANCER_URL = "LOAD_BALANCER_URL";
064:
065: //----------------------------------
066: // DS
067: //----------------------------------
068:
069: public final static String DS_HOST = "DS_HOST";
070: public final static String DS_PORT = "DS_PORT";
071: public final static String DS_DIRMGR_DN = "DS_DIRMGR_DN";
072: public final static String DS_DIRMGR_PASSWORD = "DS_DIRMGR_PASSWORD";
073:
074: //----------------------------------
075: // IS
076: //----------------------------------
077:
078: public final static String IS_BASEDIR = "IDSAME_BASEDIR";
079: public final static String IS_AMSERVER = "IDSAME_AMSERVER";
080: public final static String IS_AMCONSOLE = "com.iplanet.am.console.deploymentDescriptor";
081: public final static String IS_ADMIN_PASSWORD = "IDSAME_ADMIN_PASSWORD";
082: public final static String IS_LDAPUSER_PASSWORD = "IDSAME_LDAPUSER_PASSWORD";
083: public final static String AMADMIN_DN = "com.sun.identity.authentication.super.user";
084: public final static String DEFAULT_ORG_DN = "com.iplanet.am.defaultOrg";
085: public final static String ROOT_SUFFIX_DN = "com.iplanet.am.rootsuffix";
086: public final static String IS_ROOT_DN = "IDSAME_ROOT_DN";
087: public final static String IS_ORG_DN = "IDSAME_ORG_DN";
088:
089: //----------------------------------
090: // PS
091: //----------------------------------
092:
093: public final static String PS_BASEDIR = "BASEDIR";
094: public final static String SERVER_INSTANCE = "INSTANCE_NAME";
095:
096: //With PS/IS seperation, picking up these values for PSConfig.properties
097: //public final static String SERVER_PROTOCOL = "com.iplanet.am.server.protocol";
098: //public final static String SERVER_HOST = "com.iplanet.am.server.host";
099: //public final static String SERVER_PORT = "com.iplanet.am.server.port";
100: public final static String SERVER_PROTOCOL = "SERVER_PROTOCOL";
101: public final static String SERVER_HOST = "SERVER_HOST";
102: public final static String SERVER_PORT = "SERVER_PORT";
103: public final static String PS_PROTOCOL = "PS_PROTOCOL";
104: public final static String PS_HOST = "PS_HOST";
105: public final static String PS_PORT = "PS_PORT";
106:
107: //----------------------------------
108: // SRAP
109: //----------------------------------
110:
111: public static final String SRA_SERVER_DOMAIN = "SERVER_DOMAIN";
112: public static final String SRA_GATEWAY_DOMAIN = "GW_DOMAIN";
113: public static final String SRA_ASSIGN_SERVICE = "ASSIGN_SERVICE";
114: public static final String SRA_USE_WEBPROXY = "USE_WEBPROXY";
115: public static final String SRA_GATEWAY_PROFILE = "SRA_GATEWAY_PROFILE";
116: public static final String SRA_LOG_USER_PASSWORD = "SRA_LOG_USER_PASSWORD";
117:
118: //----------------------------------
119: // CERT
120: //----------------------------------
121:
122: public static final String CERT_SELF_SIGNED = "SELF_SIGNED_CERT";
123: public static final String CERT_ORGANIZATION = "GW_CERT_ORGANIZATION";
124: public static final String CERT_DIVISION = "GW_CERT_DIVISION";
125: public static final String CERT_CITY = "GW_CERT_CITY";
126: public static final String CERT_STATE = "GW_CERT_STATE";
127: public static final String CERT_COUNTRY = "GW_CERT_COUNTRY";
128: public static final String CERT_INFO = "CERT_INFO";
129: public static final String CERT_PASSWORD = "certificate.database.password";
130:
131: //--------------------------------
132: // Gateway
133: //--------------------------------
134:
135: public static final String GATEWAY_BASEDIR = "GW_BASEDIR";
136: public static final String GATEWAY_PROTOCOL = "GW_PROTOCOL";
137: public static final String GATEWAY_HOST = "GW_HOST";
138: public static final String GATEWAY_PORT = "GW_PORT";
139: public static final String GATEWAY_FULL_DOMAIN = "GW_FULL_DOMAIN";
140: public static final String GATEWAY_IP_ADDRESS = "GW_IP";
141: public static final String GW_GATEWAY_PROFILE = "GW_GATEWAY_PROFILE";
142: public static final String GATEWAY_START = "START_GATEWAY";
143:
144: //--------------------------------
145: // Netlet Proxy
146: //--------------------------------
147:
148: public static final String NLP_BASEDIR = "NLP_BASEDIR";
149: public static final String NLP_PROTOCOL = "NLP_PROTOCOL";
150: public static final String NLP_HOST = "NLP_HOST";
151: public static final String NLP_PORT = "NLP_PORT";
152: public static final String NLP_IP_ADDRESS = "NLP_IP";
153: public static final String NLP_GATEWAY_PROFILE = "NLP_GATEWAY_PROFILE";
154:
155: //--------------------------------
156: // Rewriter Proxy
157: //--------------------------------
158:
159: public static final String RWP_BASEDIR = "RWP_BASEDIR";
160: public static final String RWP_PROTOCOL = "RWP_PROTOCOL";
161: public static final String RWP_HOST = "RWP_HOST";
162: public static final String RWP_PORT = "RWP_PORT";
163: public static final String RWP_IP_ADDRESS = "RWP_IP";
164: public static final String RWP_GATEWAY_PROFILE = "RWP_GATEWAY_PROFILE";
165:
166: //--------------------------------
167: // Netlet Proxy and Rewriter Proxy
168: //--------------------------------
169:
170: public static final String CREATE_IS_INSTANCE = "CREATE_IS_INSTANCE";
171:
172: //-----------------------------
173: // Files
174: //-----------------------------
175:
176: public static String AMCONFIG = fs + "etc" + fs + "opt" + fs
177: + "SUNWam" + fs + "config" + fs + "AMConfig.properties";
178: public static String AMCONFIG_WINDOWS = fs + "lib" + fs
179: + "AMConfig.properties";
180: public static String LOGFILE = fs + "var" + fs + "opt" + fs
181: + "SUNWam" + fs + "debug" + fs + "configuration.log";
182: public static String LOGFILE_WINDOWS = fs + "debug" + fs
183: + "configuration.log";
184: public static String DEBUGJAR = fs + "SUNWam" + fs + "lib" + fs
185: + "am_sdk.jar";
186: public static String DEBUGJAR_WINDOWS = fs + "lib" + fs
187: + "am_sdk.jar";
188: public static String ANTJAR = fs + "SUNWps" + fs + "lib" + fs
189: + "ant.jar";
190: public static String ANTJAR_WINDOWS = fs + "lib" + fs + "ant.jar";
191:
192: // --------------------------------------------
193: // Configuration
194: // --------------------------------------------
195:
196: public static final String COMPONENTS_TO_CONFIGURE = "COMPONENTS_TO_CONFIGURE";
197: public static final String DO_ISCONFIG = "DO_ISCONFIG";
198: public static final String DO_DEPLOY = "DO_DEPLOY";
199:
200: public static String PSCONFIG = fs + "PSConfig.properties";
201: public static String PSCONFIG_WINDOWS = fs + "config" + fs
202: + "PSConfig.properties";
203: public static String GWCONFIG = fs + "GWConfig.properties";
204: public static String GWCONFIG_WINDOWS = fs + "config" + fs
205: + "GWConfig.properties";
206: public static String NLPCONFIG = fs + "NLPConfig.properties";
207: public static String NLPCONFIG_WINDOWS = fs + "config" + fs
208: + "NLPConfig.properties";
209: public static String RWPCONFIG = fs + "RWPConfig.properties";
210: public static String RWPCONFIG_WINDOWS = fs + "config" + fs
211: + "RWPConfig.properties";
212:
213: }
|