public void handleRequest(RequestContext rc) throws CLIException {
  super.handleRequest(rc);
  ldapLogin();
  String serviceName=getStringOptionValue(IArgument.SERVICE_NAME);
  String subConfigName=getStringOptionValue(IArgument.SUB_CONFIGURATION_NAME);
  String realmName=getStringOptionValue(IArgument.REALM_NAME);
  if ((realmName == null) || (realmName.length() == 0)) {
    deleteSubConfigToRoot(serviceName,subConfigName);
  }
 else {
    deleteSubConfigFromRealm(realmName,serviceName,subConfigName);
  }
}

public void handleRequest ( RequestContext rc ) throws CLIException { super . handleRequest ( rc ) ; ldapLogin ( ) ; String serviceName = getStringOptionValue ( IArgument . SERVICE_NAME ) ; String subConfigName = getStringOptionValue ( IArgument . SUB_CONFIGURATION_NAME ) ; String realmName = getStringOptionValue ( IArgument . REALM_NAME ) ; if ( ( realmName == null ) || ( realmName . length ( ) == 0 ) ) { deleteSubConfigToRoot ( serviceName , subConfigName ) ; } else { deleteSubConfigFromRealm ( realmName , serviceName , subConfigName ) ; } }
services a commandline request .
