question: void updateEntityConfig ( String realm , String cotName , String protocolType , Set trustedProviders ) throws COTException { if ( protocolType . equalsIgnoreCase ( COTConstants . IDFF ) ) { updateIDFFEntityConfig ( realm , cotName , trustedProviders ) ; } else if ( protocolType . equalsIgnoreCase ( COTConstants . SAML2 ) ) { updateSAML2EntityConfig ( realm , cotName , trustedProviders ) ; } else if ( protocolType . equalsIgnoreCase ( COTConstants . WS_FED ) ) { updateWSFedEntityConfig ( realm , cotName , trustedProviders ) ; } else { String [ ] args = { protocolType } ; throw new COTException ( "invalidProtocolType" , args ) ; } }
target:  Updates the trusted providers list in the entity configuration. The Circle of Trust type determines whether the entiry is an IDFF or SAML2 provider.