ep.setUrl(null);
}
}
}
{
SmartCloudOAuth2Endpoint ep = (SmartCloudOAuth2Endpoint)ManagedBeanUtil.getBean(context, "smartcloudOA2");
if(ep!=null) {
if(env.hasRuntime("smartcloud")) {
ep.setUrl(env.getField("Sma_URL"));
ep.setConsumerKey(env.getField("Sma_OA2_ConsumerKey"));
ep.setConsumerSecret(env.getField("Sma_OA2_ConsumerSecret"));
ep.setAuthorizationURL(env.getField("Sma_OA2_AuthorizationURL"));
ep.setAccessTokenURL(env.getField("Sma_OA2_AccessTokenURL"));
} else {
ep.setUrl(null);
}
}
}
{
DominoBasicEndpoint ep = (DominoBasicEndpoint)ManagedBeanUtil.getBean(context, "dominoBasic");
if(ep!=null) {
if(env.hasRuntime("domino")) {
ep.setUrl(env.getField("Dom_URL"));
} else {
ep.setUrl(null);
}
}
}
{
SametimeBasicEndpoint ep = (SametimeBasicEndpoint)ManagedBeanUtil.getBean(context, "sametime");
if(ep!=null) {
if(env.hasRuntime("sametime")) {
ep.setUrl(env.getField("St_URL"));
} else {
ep.setUrl(null);
}
}
}
{
TwitterOAuthEndpoint epd = (TwitterOAuthEndpoint)ManagedBeanUtil.getBean(context, "twitter");