The system administrator integrates resources, such as Web pages, data stores, and applications, into a single application. An application consists of one or more base URLs, which share the same session. For example, an application called “Sybase” might include the base URLs: http://my.sybase.com, http://www.sybase.com, and https://login.sybase.com.
You can define as many applications as you want. Each application is defined by the properties in Table 14-2.
Property name |
Description |
---|---|
URLBaseRedirection.appname |
A comma-delimited list of URLs that an SWP protects by redirecting client requests. This property is required. |
DN.appname |
The DN (distinguished name) of the asset, used to check for access permissions on this resource. The user must have read permissions to access this application. If no DN is specified, you cannot enable single sign-on capabilities, and this resource is protected from access only during the initial login validation. |
Options.appname |
“noparse” is the only valid value for this property. If you set this property, an SWP does not parse HTML responses before sending them to the client. Use this parameter only if you are certain that the application does not use absolute URLs. |
Patterns.appname |
A comma-delimited list of pattern classes that are used for script rewriting. The sample below uses only one pattern, “Standard.” See “Defining patterns”. |
Authenticator.appname |
The fully qualified name of the Java class that is used as the AuthorizationService to access user credentials stored in the ACDB. See “Implementing single sign-on capabilities”. |
AuthenticatorURL.appname |
A configuration parameter passed to the authenticator. If there is no configured authenticator, this parameter is not used. |
AuthenticatorParams.appname |
A configuration parameter passed to the authenticator. If there is no configured authenticator, this parameter is not used. |
In each of the property fields listed in Table 14-2, you must replace appname with the name of the application you are defining. For example, the following properties define an application named “Sybase.”
URLBaseRedirection.Sybase=http://www.sybase.com/,http://my.sybase.com/ https://login.sybase.com/DN.Sybase=a1=Sybase.com,o=Sybase,c=usPatterns.Sybase=StandardAuthenticator.Sybase=com.sybase.ep.security.webproxy.auth. PostAuthenticator2AuthenticatorURL.Sybase= https://login.sybase.com/login/check_passwordAuthenticatorParams.Sybase= password=[password]&Submit=Login&refer=http%3A%2F%2Fmy.sybase.com %2Fmysybase&error_code=&username=[user]