public abstract class AutoLogonUrlProvider
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static java.lang.String | COPYRIGHT
IBM copyright notice field.
|
Constructor and Description |
---|
AutoLogonUrlProvider() |
Modifier and Type | Method and Description |
---|---|
abstract java.lang.String | constructAutoLogonUrl(IPageDescriptor desc)
Builds the URL when auto-logon is enabled.
|
java.lang.String | constructUrl(IPageDescriptor desc)
Builds the web application's URL.
|
protected abstract java.lang.String | getAutoLogonPath()
Returns the auto-logon URL path.
|
protected java.lang.String | getConfiguredPortNumber(java.lang.String urlProvider, java.lang.String defaultPortNumber)
This method returns the URL port number defined in the configurator for the given url provider.
|
protected abstract java.lang.String | getHostName()
Returns the URL host name.
|
protected java.lang.String | getNormalizedUrl(java.lang.String path)
Returns a normalized version of the URL.
|
protected abstract java.lang.String | getPath()
Returns the URL path.
|
protected abstract java.lang.String | getPortNumber()
Returns the URL port number.
|
protected boolean | isAutoLogonEnabled(IPageDescriptor desc)
Returns whether auto-logon is enabled for the web application by querying the preference store.
|
protected boolean | isSecured()
Returns whether the URL is secured (https).
|
protected void | setSecured(boolean isSecured)
Sets whether the URL is secured (https).
|
public static final java.lang.String COPYRIGHT
public java.lang.String constructUrl(IPageDescriptor desc)
public abstract java.lang.String constructAutoLogonUrl(IPageDescriptor desc)
protected abstract java.lang.String getHostName()
protected abstract java.lang.String getAutoLogonPath()
protected abstract java.lang.String getPath()
protected abstract java.lang.String getPortNumber()
protected java.lang.String getConfiguredPortNumber(java.lang.String urlProvider, java.lang.String defaultPortNumber)
For example: To change the port number for Accelerator web application within Sales Center, add this line in config.ini - com.ibm.commerce.telesales.ui.impl.webapp.AcceleratorUrlProvider.portNumber=xxxx Where xxxx is the desired port number.
protected java.lang.String getNormalizedUrl(java.lang.String path)
protected boolean isAutoLogonEnabled(IPageDescriptor desc)
protected boolean isSecured()
protected void setSecured(boolean isSecured)