001: /*
002: * Copyright 2001 Sun Microsystems, Inc. All rights reserved.
003: * PROPRIETARY/CONFIDENTIAL. Use of this product is subject to license terms.
004: */
005:
006: package com.sun.portal.desktop.context;
007:
008: public interface DSAMEConstants {
009: // Attribute Prefix
010: public static final String ATTR_PREFIX = "sunPortalDesktop";
011:
012: // IS Services: default version
013: public static String SVC_VERSION = "1.0";
014:
015: //
016: // Global Attributes
017: //
018: public static final String ATTR_LOGOUTURL = "iplanet-am-platform-logout-url";
019:
020: public static final String ATTR_LOGINURL = "iplanet-am-platform-login-url";
021:
022: public static final String ATTR_NOSESSIONURL = "iplanet-am-platform-login-url";
023:
024: public static final String ATTR_AUTHLOCALE = "iplanet-am-auth-locale";
025:
026: public static final String ATTR_REAP_INTERVAL = ATTR_PREFIX
027: + "SessionReapInterval";
028:
029: public static final String ATTR_INACTIVE_MAX = ATTR_PREFIX
030: + "SessionInactiveMaximum";
031:
032: public static final String ATTR_CLIENT_SESSION_REAP_INTERVAL = ATTR_PREFIX
033: + "ClientSessionReapInterval";
034:
035: public static final String ATTR_CLIENT_SESSION_INACTIVE_MAX = ATTR_PREFIX
036: + "ClientSessionInactiveMaximum";
037:
038: public static final String ATTR_CLIENT_SESSIONS_MAX = ATTR_PREFIX
039: + "ClientSessionsMaximum";
040:
041: public static final String ATTR_SESSIONRETURNURLPARAMNAME = ATTR_PREFIX
042: + "SessionReturnURLParamName";
043:
044: public static final String ATTR_DP_ISVALIDATING = ATTR_PREFIX
045: + "DpIsValidating";
046:
047: public static final String ATTR_DP_NAMESPACEURI = ATTR_PREFIX
048: + "DpNamespaceURI";
049:
050: public static final String ATTR_DPCONTEXTCLASSNAME = ATTR_PREFIX
051: + "DpContextClassName";
052:
053: public static final String ATTR_DPUSERCONTEXTCLASSNAME = ATTR_PREFIX
054: + "DpUserContextClassName";
055:
056: public static final String ATTR_CONTAINERPROVIDERCONTEXTCLASSNAME = ATTR_PREFIX
057: + "ContainerProviderContextClassName";
058:
059: public static final String ATTR_DEBUGCONTEXTCLASSNAME = ATTR_PREFIX
060: + "DebugContextClassName";
061:
062: public static final String ATTR_SERVICECONTEXTCLASSNAME = ATTR_PREFIX
063: + "ServiceContextClassName";
064:
065: public static final String ATTR_SESSIONAPPCONTEXTCLASSNAME = ATTR_PREFIX
066: + "SessionAppContextClassName";
067:
068: public static final String ATTR_AUTHLESSSESSIONAPPCONTEXTCLASSNAME = ATTR_PREFIX
069: + "AuthlessSessionAppContextClassName";
070:
071: public static final String ATTR_WSRPSESSIONAPPCONTEXTCLASSNAME = ATTR_PREFIX
072: + "WSRPSessionAppContextClassName";
073:
074: public static final String ATTR_SESSIONCONTEXTCLASSNAME = ATTR_PREFIX
075: + "SessionContextClassName";
076:
077: public static final String ATTR_AUTHLESSSESSIONCONTEXTCLASSNAME = ATTR_PREFIX
078: + "AuthlessSessionContextClassName";
079:
080: public static final String ATTR_WSRPSESSIONCONTEXTCLASSNAME = ATTR_PREFIX
081: + "WSRPSessionContextClassName";
082:
083: public static final String ATTR_DESKTOPCONTEXTCLASSNAME = ATTR_PREFIX
084: + "DesktopContextClassName";
085:
086: public static final String ATTR_TEMPLATECONTEXTCLASSNAME = ATTR_PREFIX
087: + "TemplateContextClassName";
088:
089: public static final String ATTR_CLIENTCONTEXTCLASSNAME = ATTR_PREFIX
090: + "ClientContextClassName";
091:
092: public static final String ATTR_PROVIDERMANAGERCONTEXTCLASSNAME = ATTR_PREFIX
093: + "ProviderManagerContextClassName";
094:
095: public static final String ATTR_PROPERTIESCONTEXTCLASSNAME = ATTR_PREFIX
096: + "PropertiesContextClassName";
097:
098: public static final String ATTR_AUTHORIZEDAUTHLESSUIDS = ATTR_PREFIX
099: + "AuthorizedAuthlessUIDs";
100:
101: public static final String ATTR_DEFAULTAUTHLESSUID = ATTR_PREFIX
102: + "DefaultAuthlessUID";
103:
104: public static final String ATTR_ENABLE_AUTHLESS_DESKTOP = ATTR_PREFIX
105: + "EnableAuthlessDesktop";
106:
107: public static final String ATTR_DISABLE_AUTHLESS_FOR_FEDERATED_USERS = ATTR_PREFIX
108: + "DisableAuthlessForFederatedUsers";
109:
110: public static final String ATTR_ENABLE_FEDERATION = ATTR_PREFIX
111: + "EnableFederation";
112:
113: public static final String ATTR_HOSTED_PROVIDER_ID = ATTR_PREFIX
114: + "HostedProviderID";
115:
116: public static final String ATTR_ACCESS_URL = ATTR_PREFIX
117: + "AccessURL";
118:
119: //
120: // Dynamic Attributes
121: //
122:
123: /* The following dynamic attributes are being commented out
124: * and have been moved to DSAMEMultiPortalConstants
125: * since the names of these are set during initialization
126: * and depend on the portal identifier for a portal
127: * in a multiportal scenario.
128: */
129: //public static final String ATTR_DEFAULTCHANNELNAME =
130: // ATTR_PREFIX + "DefaultChannelName";
131: //public static final String ATTR_EDITPROVIDERCONTAINERNAME =
132: // ATTR_PREFIX + "EditProviderContainerName";
133: //public static final String ATTR_DESKTOP_TYPE =
134: // ATTR_PREFIX + "Type";
135:
136: // These dynamic attrs are in service template and never
137: // customized at a user level and so are
138: // different for each portal
139: public static final String ATTR_LOCALE = "preferredlocale";
140:
141: public static final String ATTR_DP_DOCUMENT = ATTR_PREFIX
142: + "DpDocument";
143:
144: public static final String ATTR_DP_LAST_MODIFIED = ATTR_PREFIX
145: + "DpLastModified";
146:
147: public static final String ATTR_DP_CAN_VIEW = ATTR_PREFIX
148: + "DpCanView";
149:
150: //
151: // Policy Attributes
152: //
153: public static final String ATTR_EXECUTABLE = ATTR_PREFIX
154: + "Executable";
155:
156: //
157: // User Attributes
158: //
159: /* The following user attributes are being commented out
160: * and have been moved to DSAMEMultiPortalConstants
161: * since the names of these are set during initialization
162: * and depend on the portal identifier for a portal
163: * in a multiportal scenario.
164: */
165: //public static final String ATTR_DP_DOCUMENT_USER =
166: // ATTR_PREFIX + "DpDocumentUser";
167: //public static final String ATTR_DP_LAST_MODIFIED_USER =
168: // ATTR_PREFIX + "DpLastModifiedUser";
169:
170: //
171: // Service Names
172: //
173: /* The following 2 constants are being commented out
174: * and have been moved to DSAMEMultiPortalConstants
175: * since the names of these are set during initialization
176: * and depend on the portal identifier for a portal
177: * in a multiportal scenario.
178: */
179: //public static final String SUN_DESKTOP_SERVICE =
180: // "SunPortalDesktopService";
181:
182: //TODO: This needs to be commented out, but wsrp producer uses it
183: //and is not multiportal citizen yet. This needs to be
184: //resolved before rtm. So uncommenting for now.
185: //public static final String SUN_DESKTOP_OBJECT_CLASS =
186: // "SunPortalDesktopPerson";
187:
188: public static final String DSAME_USER_SERVICE = "iPlanetAMUserService";
189:
190: public static final String DSAME_AUTH_SERVICE = "iPlanetAMAuthService";
191:
192: public static final String DSAME_PERSISTENT_COOKIE_MODE = "iplanet-am-auth-persistent-cookie-mode";
193:
194: public static final String DSAME_PLATFORM_SERVICE = "iPlanetAMPlatformService";
195:
196: //
197: // Identity-Liberty implementation specific constants
198: //
199: public static final String AM_SERVER_PROTOCOL = "com.iplanet.am.server.protocol";
200:
201: public static final String AM_SERVER_HOST = "com.iplanet.am.server.host";
202:
203: public static final String AM_SERVER_PORT = "com.iplanet.am.server.port";
204:
205: public static final String DEPLOYMENT_DESCRIPTOR_KEY = "com.iplanet.am.services.deploymentDescriptor";
206:
207: public static final String PRE_LOGIN_PAGE_NAME = "preLogin";
208:
209: public static final String PASSIVE_IDP_QUERY_PARAM = "isPassive";
210:
211: public static final String FED_COOKIE_NO_QUERY_PARAM = "gotoOnFedCookieNo";
212:
213: public static final String LIBERTY_LOGOUT_PAGE_NAME = "liberty-logout";
214: }
|