question: public void deleteEntityConfig ( String realm , String federationId ) throws WSFederationMetaException { if ( federationId == null ) { return ; } if ( realm == null ) { realm = "/" ; } String [ ] objs = { federationId , realm } ; try { Map oldAttrs = configInst . getConfiguration ( realm , federationId ) ; Set oldValues = ( Set ) oldAttrs . get ( ATTR_ENTITY_CONFIG ) ; if ( oldValues == null || oldValues . isEmpty ( ) ) { LogUtil . error ( Level . INFO , LogUtil . NO_ENTITY_DESCRIPTOR_DELETE_ENTITY_CONFIG , objs , null ) ; throw new WSFederationMetaException ( "entity_config_not_exist" , objs ) ; } IDPSSOConfigElement idpconfig = getIDPSSOConfig ( realm , federationId ) ; if ( idpconfig != null ) { removeFromCircleOfTrust ( idpconfig , realm , federationId ) ; } SPSSOConfigElement spconfig = getSPSSOConfig ( realm , federationId ) ; if ( spconfig != null ) { removeFromCircleOfTrust ( spconfig , realm , federationId ) ; } Set attr = new HashSet ( ) ; attr . add ( ATTR_ENTITY_CONFIG ) ; configInst . deleteConfiguration ( realm , federationId , attr ) ; LogUtil . access ( Level . INFO , LogUtil . ENTITY_CONFIG_DELETED , objs , null ) ; WSFederationMetaCache . putEntityConfig ( realm , federationId , null ) ; } catch ( ConfigurationException e ) { debug . error ( "WSFederationMetaManager.deleteEntityConfig:" , e ) ; String [ ] data = { e . getMessage ( ) , federationId , realm } ; LogUtil . error ( Level . INFO , LogUtil . CONFIG_ERROR_DELETE_ENTITY_CONFIG , data , null ) ; throw new WSFederationMetaException ( e ) ; } }
target:  Deletes the extended entity configuration under the realm.