@Test public void testGetOpenAMServerRef() throws Exception { OpenAMParameters parameters = new OpenAMParameters(); Reference baseRef = new Reference(); baseRef.setScheme(parameters.getServerProtocol().getSchemeName()); baseRef.setHostDomain(parameters.getServerHost()); baseRef.setHostPort(parameters.getServerPort()); baseRef.setPath(parameters.getServerDeploymentURI()); Assert.assertEquals(baseRef.toString(), "http: baseRef.setPath(baseRef.getPath() + "/UI/Login"); Assert.assertEquals(baseRef.toString(), "http: }
public Reference getOpenAMServerRef() { Reference baseRef = new Reference(); baseRef.setScheme(getServerProtocol().getSchemeName()); baseRef.setHostDomain(getServerHost()); baseRef.setHostPort(getServerPort()); baseRef.setPath(getServerDeploymentURI()); return baseRef; }
OpenAMParameters { public Reference getOpenAMServerRef() { Reference baseRef = new Reference(); baseRef.setScheme(getServerProtocol().getSchemeName()); baseRef.setHostDomain(getServerHost()); baseRef.setHostPort(getServerPort()); baseRef.setPath(getServerDeploymentURI()); return baseRef; } }
OpenAMParameters { public Reference getOpenAMServerRef() { Reference baseRef = new Reference(); baseRef.setScheme(getServerProtocol().getSchemeName()); baseRef.setHostDomain(getServerHost()); baseRef.setHostPort(getServerPort()); baseRef.setPath(getServerDeploymentURI()); return baseRef; } OpenAMParameters(); }
OpenAMParameters { public Reference getOpenAMServerRef() { Reference baseRef = new Reference(); baseRef.setScheme(getServerProtocol().getSchemeName()); baseRef.setHostDomain(getServerHost()); baseRef.setHostPort(getServerPort()); baseRef.setPath(getServerDeploymentURI()); return baseRef; } OpenAMParameters(); Reference getOpenAMServerRef(); Protocol getServerProtocol(); void setServerProtocol(Protocol serverProtocol); String getServerHost(); void setServerHost(String serverHost); int getServerPort(); void setServerPort(int serverPort); String getServerDeploymentURI(); void setServerDeploymentURI(String serverDeploymentURI); String getDebugDirectory(); void setDebugDirectory(String debugDirectory); String getApplicationUserName(); void setApplicationUserName(String applicationUserName); String getApplicationUserPassword(); void setApplicationUserPassword(String applicationUserPassword); String getLoginIndexName(); void setLoginIndexName(String loginIndexName); String getOrgName(); void setOrgName(String orgName); String getLocale(); void setLocale(String locale); IndexType getLoginIndexType(); void setLoginIndexType(IndexType loginIndexType); ConcurrentMap<String, Object> getAttributes(); }
OpenAMParameters { public Reference getOpenAMServerRef() { Reference baseRef = new Reference(); baseRef.setScheme(getServerProtocol().getSchemeName()); baseRef.setHostDomain(getServerHost()); baseRef.setHostPort(getServerPort()); baseRef.setPath(getServerDeploymentURI()); return baseRef; } OpenAMParameters(); Reference getOpenAMServerRef(); Protocol getServerProtocol(); void setServerProtocol(Protocol serverProtocol); String getServerHost(); void setServerHost(String serverHost); int getServerPort(); void setServerPort(int serverPort); String getServerDeploymentURI(); void setServerDeploymentURI(String serverDeploymentURI); String getDebugDirectory(); void setDebugDirectory(String debugDirectory); String getApplicationUserName(); void setApplicationUserName(String applicationUserName); String getApplicationUserPassword(); void setApplicationUserPassword(String applicationUserPassword); String getLoginIndexName(); void setLoginIndexName(String loginIndexName); String getOrgName(); void setOrgName(String orgName); String getLocale(); void setLocale(String locale); IndexType getLoginIndexType(); void setLoginIndexType(IndexType loginIndexType); ConcurrentMap<String, Object> getAttributes(); static final String AUTHENTICATE; static final String LOGOUT; static final String ISTOKENVALID; static final String ATTRIBUTES; static final String AUTHORIZE; static final String AM_SERVER_PROTOCOL; static final String AM_SERVER_HOST; static final String AM_SERVER_PORT; static final String AM_SERVICES_DEPLOYMENT_DESCRIPTOR; static final String SERVICES_DEBUG_DIRECTORY; static final String AM_APPLICATION_USERNAME; static final String AM_APPLICATION_PASSWORD; static final String AM_SERVER_LOGINURL; static final boolean OPENAM_SDK; }