ConfigurationBase.java revision da46c370a4a81bf2f7f7604b672619186e235c88
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
*
* Copyright (c) 2007 Sun Microsystems Inc. All Rights Reserved
*
* The contents of this file are subject to the terms
* of the Common Development and Distribution License
* (the License). You may not use this file except in
* compliance with the License.
*
* You can obtain a copy of the License at
* See the License for the specific language governing
* permission and limitations under the License.
*
* When distributing Covered Code, include this CDDL
* Header Notice in each file and include the License file
* at opensso/legal/CDDLv1.0.txt.
* If applicable, add the following below the CDDL Header,
* with the fields enclosed by brackets [] replaced by
* your own identifying information:
* "Portions Copyrighted [year] [name of copyright owner]"
*
* $Id: ConfigurationBase.java,v 1.4 2009/07/07 06:14:12 veiming Exp $
*
* Portions Copyrighted 2010-2016 ForgeRock AS.
*/
/**
* This is the base case for <code>ServerConfiguration</code> and
* <code>SiteConfiguration</code> classes.
*/
public abstract class ConfigurationBase {
protected static final String OLD_ATTR_SITE_LIST =
"iplanet-am-platform-site-list";
protected static final String OLD_ATTR_SERVER_LIST =
"iplanet-am-platform-server-list";
throws SMSException, SSOException {
//retry just one more time
}
return getNextId(currentIds);
}
protected static Set<String> getServerConfigurationId(ServiceConfig svc) throws SMSException, SSOException {
}
}
}
}
}
return currentIds;
}
protected static Set<String> getSiteConfigurationId(ServiceConfig svc) throws SMSException, SSOException {
}
}
}
return currentIds;
}
}
if (!bPrimaryOnly) {
}
}
}
}
}
}
}
}
return currentIds;
}
}
}
}
}
throws SMSException {
try {
} catch (MalformedURLException e) {
throw new RuntimeException(e.getMessage());
}
if (bAdd) {
}
} else {
}
}
}
}
throws SMSException, SSOException {
}
return null;
}
throws SMSException, SSOException {
//Because SMS classes are wrapped and cached as class variable,
//there is no way to "lock" these classes from getting cleared
//by SMSNotificationManager if these objects are being used.
//The best we can do at the moment is to retry just one more time
}
return serverConfig;
}
protected static ServiceConfig getServerConfig(SSOToken ssoToken, String name) throws SMSException, SSOException {
}
protected static ServiceConfig getRootSiteConfig(SSOToken ssoToken) throws SMSException, SSOException {
}
return null;
}
}