package at.gv.egovernment.moa.id.config.proxy; import at.gv.egovernment.moa.id.config.ConnectionParameter; /** * Configuration parameters belonging to an online application, * to use with the MOA ID Proxy component. * * @author Stefan Knirsch * @version $Id$ */ public class OAProxyParameter { /** * public URL prefix of the online application */ private String publicURLPrefix; /** * URL of online application configuration file; * defaults to relative URL /moaconfig.xml */ private String configFileURL; /** * implementation of {@link at.gv.egovernment.moa.id.proxy.LoginParameterResolver} interface * to be used for authenticating the online application; * defaults to {@link at.gv.egovernment.moa.id.proxy.DefaultLoginParameterResolver} */ private String loginParameterResolverImpl; /** * Configuration Parameter of LoginParameterResolver */ private String loginParameterResolverConfiguration; /** * implementation of {@link at.gv.egovernment.moa.id.proxy.ConnectionBuilder} interface * to be used for connecting to the online application; * defaults to {@link at.gv.egovernment.moa.id.proxy.DefaultConnectionBuilder} */ private String connectionBuilderImpl; /** * session time out to be used in case of a stateless online application */ private int sessionTimeOut; /** * parameters regarding the connection from the proxy to the online application */ private ConnectionParameter connectionParameter; /** * parameters for logging into the online application */ private OAConfiguration oaConfiguration; /** * Returns the configFileURL. * @return String */ public String getConfigFileURL() { return configFileURL; } /** * Returns the sessionTimeOut. * @return int */ public int getSessionTimeOut() { return sessionTimeOut; } /** * Returns the connectionParameter. * @return ConnectionParameter */ public ConnectionParameter getConnectionParameter() { return connectionParameter; } /** * Sets the configFileURL. * @param configFileURL The configFileURL to set */ public void setConfigFileURL(String oaProxyConfigFileURL) { this.configFileURL = oaProxyConfigFileURL; } /** * Sets the sessionTimeOut. * @param sessionTimeOut The sessionTimeOut to set */ public void setSessionTimeOut(int oaProxySessionTimeOut) { this.sessionTimeOut = oaProxySessionTimeOut; } /** * Sets the connectionParameter. * @param connectionParameter The connectionParameter to set */ public void setConnectionParameter(ConnectionParameter proxyConnectionParameter) { this.connectionParameter = proxyConnectionParameter; } /** * Returns the publicURLPrefix. * @return String */ public String getPublicURLPrefix() { return publicURLPrefix; } /** * Sets the publicURLPrefix. * @param publicURLPrefix The publicURLPrefix to set */ public void setPublicURLPrefix(String url) { this.publicURLPrefix = url; } /** * Returns the connectionBuilderImpl. * @return String */ public String getConnectionBuilderImpl() { return connectionBuilderImpl; } /** * Returns the loginParameterResolverImpl. * @return String */ public String getLoginParameterResolverImpl() { return loginParameterResolverImpl; } /** * Returns the loginParameterResolverConfiguration. * @return String */ public String getLoginParameterResolverConfiguration() { return loginParameterResolverConfiguration; } /** * Sets the connectionBuilderImpl. * @param connectionBuilderImpl The connectionBuilderImpl to set */ public void setConnectionBuilderImpl(String connectionBuilderImp) { this.connectionBuilderImpl = connectionBuilderImp; } /** * Sets the loginParameterResolverImpl. * @param loginParameterResolverImpl The loginParameterResolverImpl to set */ public void setLoginParameterResolverImpl(String loginParameterResolverImpl) { this.loginParameterResolverImpl = loginParameterResolverImpl; } /** * Sets the loginParameterResolverConfiguration. * @param loginParameterResolverImpl The loginParameterResolverImpl to set */ public void setLoginParameterResolverConfiguration(String loginParameterResolverConfiguration) { this.loginParameterResolverConfiguration = loginParameterResolverConfiguration; } /** * Returns the oaConfiguration. * @return OAConfiguration */ public OAConfiguration getOaConfiguration() { return oaConfiguration; } /** * Sets the oaConfiguration. * @param oaConfiguration The oaConfiguration to set */ public void setOaConfiguration(OAConfiguration oaConfiguration) { this.oaConfiguration = oaConfiguration; } }