question: public static void removeSubConfigAttribute ( String serviceName , Set sunServiceID , String realm , String subConfigName , List attrList ) { String classMethod = "UpgradeUtils:removeSubConfigAttribute : " ; try { ServiceConfigManager scm = getServiceConfigManager ( serviceName ) ; ServiceConfig sc = scm . getOrganizationConfig ( realm , null ) ; ServiceConfig subConfig = sc . getSubConfig ( subConfigName ) ; String serviceID = getSunServiceID ( subConfig ) ; if ( sunServiceID . contains ( serviceID ) ) { Iterator i = attrList . iterator ( ) ; while ( i . hasNext ( ) ) { String attributeName = ( String ) i . next ( ) ; if ( debug . messageEnabled ( ) ) { debug . message ( classMethod + "Removing attr :" + attributeName ) ; } subConfig . removeAttribute ( attributeName ) ; } } } catch ( SSOException ssoe ) { debug . error ( classMethod + "Invalid SSO Token " , ssoe ) ; } catch ( SMSException sme ) { debug . error ( classMethod + "Error removing attributes : " + attrList , sme ) ; } }
target:  Removes attribute from service sub-configuration instances.