question: public void updateIDPEntityConfig ( String realm , String entityName , Map attrValues ) throws AMConsoleException { String [ ] params = { realm , entityName , "IDFF" , "IDP-Extended Metadata" } ; logEvent ( "ATTEMPT_MODIFY_ENTITY_DESCRIPTOR" , params ) ; try { IDFFMetaManager idffMetaMgr = getIDFFMetaManager ( ) ; EntityConfigElement entityConfig = idffMetaMgr . getEntityConfig ( realm , entityName ) ; if ( entityConfig == null ) { throw new AMConsoleException ( "invalid.entity.name" ) ; } IDPDescriptorConfigElement idpDecConfigElement = idffMetaMgr . getIDPDescriptorConfig ( realm , entityName ) ; if ( idpDecConfigElement == null ) { throw new AMConsoleException ( "invalid.config.element" ) ; } else { updateAttrInConfig ( idpDecConfigElement , attrValues , EntityModel . IDENTITY_PROVIDER ) ; } idffMetaMgr . setEntityConfig ( realm , entityConfig ) ; logEvent ( "SUCCEED_MODIFY_ENTITY_DESCRIPTOR" , params ) ; } catch ( IDFFMetaException e ) { String strError = getErrorString ( e ) ; String [ ] paramsEx = { realm , entityName , "IDFF" , "IDP-Extended Metadata" , strError } ; logEvent ( "FEDERATION_EXCEPTION_MODIFY_ENTITY_DESCRIPTOR" , paramsEx ) ; throw new AMConsoleException ( strError ) ; } catch ( JAXBException e ) { String strError = getErrorString ( e ) ; String [ ] paramsEx = { realm , entityName , "IDFF" , "IDP-Extended Metadata" , strError } ; logEvent ( "FEDERATION_EXCEPTION_MODIFY_ENTITY_DESCRIPTOR" , paramsEx ) ; throw new AMConsoleException ( strError ) ; } }
target:  Modifies a identity provider's extended metadata.