question: public void deleteEntityConfig ( String realm , String entityId ) throws SAML2MetaException { if ( entityId == null ) { return ; } if ( realm == null ) { realm = "/" ; } String [ ] objs = { entityId , realm } ; try { Map oldAttrs = configInst . getConfiguration ( realm , entityId ) ; 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 SAML2MetaException ( "entity_config_not_exist" , objs ) ; } removeFromCircleOfTrust ( realm , entityId ) ; Set attr = new HashSet ( ) ; attr . add ( ATTR_ENTITY_CONFIG ) ; configInst . deleteConfiguration ( realm , entityId , attr ) ; LogUtil . access ( Level . INFO , LogUtil . ENTITY_CONFIG_DELETED , objs , null ) ; SAML2MetaCache . putEntityConfig ( realm , entityId , null ) ; } catch ( ConfigurationException e ) { debug . error ( "SAML2MetaManager.deleteEntityConfig:" , e ) ; String [ ] data = { e . getMessage ( ) , entityId , realm } ; LogUtil . error ( Level . INFO , LogUtil . CONFIG_ERROR_DELETE_ENTITY_CONFIG , data , null ) ; throw new SAML2MetaException ( e ) ; } }
target:  Deletes the extended entity configuration under the realm.