@Override
public int doStartTag() throws JspException {
ICasClientConfigManager clientConfigManager =
(ICasClientConfigManager) ApsWebApplicationUtils.getBean(CasClientPluginSystemCostants.JPCASCLIENT_CONFIG_MANAGER, this.pageContext);
CasClientConfig casClientConfig = clientConfigManager.getClientConfig();
String param = null;
try {
if (_param.equals("active")) {
boolean isActive = casClientConfig.isActive();
param = String.valueOf(isActive);
} else if (_param.equals("casLoginURL")) {
param = casClientConfig.getCasLoginURL();
} else if (_param.equals("casLogoutURL")) {
param = casClientConfig.getCasLogoutURL();
} else if (_param.equals("casValidateURL")) {
param = casClientConfig.getCasValidateURL();
} else if (_param.equals("serverBaseURL")) {
param = casClientConfig.getServerBaseURL();
} else if (_param.equals("notAuthPage")) {
param = casClientConfig.getNotAuthPage();
} else if (_param.equals("realm")) {
param = casClientConfig.getRealm();
}
if (null != this.getVar() && this.getVar().length() > 0) {
this.pageContext.setAttribute(this.getVar(), param);
} else {
this.pageContext.getOut().print(param);