Class ConfigurationBase
- java.lang.Object
-
- com.sun.identity.common.configuration.ConfigurationBase
-
- Direct Known Subclasses:
ServerConfiguration,SiteConfiguration
public abstract class ConfigurationBase extends Object
This is the base case forServerConfigurationandSiteConfigurationclasses.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringATTR_PRIMARY_SITE_IDprotected static StringATTR_PRIMARY_SITE_URLprotected static StringATTR_SEC_IDprotected static StringATTR_SERVER_IDstatic StringCONFIG_SERVERSstatic StringCONFIG_SITESprotected static StringOLD_ATTR_SERVER_LISTprotected static StringOLD_ATTR_SITE_LISTprotected static StringSUBCONFIG_ACCESS_URLprotected static StringSUBCONFIG_SEC_URLSstatic StringSUBSCHEMA_SERVERstatic StringSUBSCHEMA_SITE
-
Constructor Summary
Constructors Constructor Description ConfigurationBase()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description protected static StringgetNextId(SSOToken ssoToken)protected static StringgetNextId(Set<String> currentIds)protected static ServiceConfiggetRootServerConfig(SSOToken ssoToken)protected static ServiceConfiggetRootServerConfigWithRetry(SSOToken ssoToken)protected static ServiceConfiggetRootSiteConfig(SSOToken ssoToken)protected static ServiceConfiggetServerConfig(SSOToken ssoToken, String name)protected static Set<String>getServerConfigurationId(ServiceConfig svc)protected static Set<String>getSiteConfigurationId(ServiceConfig svc)protected static Set<String>getSiteConfigurationIds(SSOToken ssoToken, ServiceConfig rootNode, String name, boolean bPrimaryOnly)protected static voidupdateOrganizationAlias(SSOToken ssoToken, String instanceName, boolean bAdd)
-
-
-
Field Detail
-
OLD_ATTR_SITE_LIST
protected static final String OLD_ATTR_SITE_LIST
- See Also:
- Constant Field Values
-
OLD_ATTR_SERVER_LIST
protected static final String OLD_ATTR_SERVER_LIST
- See Also:
- Constant Field Values
-
CONFIG_SERVERS
public static final String CONFIG_SERVERS
- See Also:
- Constant Field Values
-
SUBSCHEMA_SERVER
public static final String SUBSCHEMA_SERVER
- See Also:
- Constant Field Values
-
ATTR_SERVER_ID
protected static final String ATTR_SERVER_ID
- See Also:
- Constant Field Values
-
SUBSCHEMA_SITE
public static final String SUBSCHEMA_SITE
- See Also:
- Constant Field Values
-
CONFIG_SITES
public static final String CONFIG_SITES
- See Also:
- Constant Field Values
-
SUBCONFIG_ACCESS_URL
protected static final String SUBCONFIG_ACCESS_URL
- See Also:
- Constant Field Values
-
ATTR_PRIMARY_SITE_ID
protected static final String ATTR_PRIMARY_SITE_ID
- See Also:
- Constant Field Values
-
ATTR_PRIMARY_SITE_URL
protected static final String ATTR_PRIMARY_SITE_URL
- See Also:
- Constant Field Values
-
SUBCONFIG_SEC_URLS
protected static final String SUBCONFIG_SEC_URLS
- See Also:
- Constant Field Values
-
ATTR_SEC_ID
protected static final String ATTR_SEC_ID
- See Also:
- Constant Field Values
-
-
Method Detail
-
getNextId
protected static String getNextId(SSOToken ssoToken) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
getServerConfigurationId
protected static Set<String> getServerConfigurationId(ServiceConfig svc) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
getSiteConfigurationId
protected static Set<String> getSiteConfigurationId(ServiceConfig svc) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
getSiteConfigurationIds
protected static Set<String> getSiteConfigurationIds(SSOToken ssoToken, ServiceConfig rootNode, String name, boolean bPrimaryOnly) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
updateOrganizationAlias
protected static void updateOrganizationAlias(SSOToken ssoToken, String instanceName, boolean bAdd) throws SMSException
- Throws:
SMSException
-
getRootServerConfig
protected static ServiceConfig getRootServerConfig(SSOToken ssoToken) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
getRootServerConfigWithRetry
protected static ServiceConfig getRootServerConfigWithRetry(SSOToken ssoToken) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
getServerConfig
protected static ServiceConfig getServerConfig(SSOToken ssoToken, String name) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
getRootSiteConfig
protected static ServiceConfig getRootSiteConfig(SSOToken ssoToken) throws SMSException, SSOException
- Throws:
SMSExceptionSSOException
-
-