public ServiceConfig createGlobalConfig(Map attrs) throws SMSException, SSOException {
  validateSSM();
  ServiceSchemaImpl ss=ssm.getSchema(SchemaType.GLOBAL);
  if (ss == null) {
    String[] args={serviceName};
    throw (new SMSException(IUMSConstants.UMS_BUNDLE_NAME,"sms-service-does-not-have-global-schema",args));
  }
  String orgDN=scm.constructServiceConfigDN(SMSUtils.DEFAULT,CreateServiceConfig.GLOBAL_CONFIG_NODE,null);
  try {
    CreateServiceConfig.createSubConfigEntry(token,orgDN,ss,null,null,attrs,SMSEntry.baseDN);
  }
 catch (  ServiceAlreadyExistsException slee) {
  }
  return (getGlobalConfig(null));
}

public ServiceConfig createGlobalConfig ( Map attrs ) throws SMSException , SSOException { validateSSM ( ) ; ServiceSchemaImpl ss = ssm . getSchema ( SchemaType . GLOBAL ) ; if ( ss == null ) { String [ ] args = { serviceName } ; throw ( new SMSException ( IUMSConstants . UMS_BUNDLE_NAME , "sms-service-does-not-have-global-schema" , args ) ) ; } String orgDN = scm . constructServiceConfigDN ( SMSUtils . DEFAULT , CreateServiceConfig . GLOBAL_CONFIG_NODE , null ) ; try { CreateServiceConfig . createSubConfigEntry ( token , orgDN , ss , null , null , attrs , SMSEntry . baseDN ) ; } catch ( ServiceAlreadyExistsException slee ) { } return ( getGlobalConfig ( null ) ) ; }
creates global configuration for the default instance of the service given the configuration attributes .
