question: public boolean isInCircleOfTrust ( String realm , String name , String protocolType , String entityId ) { Set tProviders = new HashSet ( ) ; try { CircleOfTrustDescriptor cotd = getCircleOfTrust ( realm , name ) ; Set pSet = cotd . getTrustedProviders ( protocolType ) ; return ( ( pSet != null ) && ! pSet . isEmpty ( ) && pSet . contains ( entityId ) ) ; } catch ( Exception me ) { debug . error ( "COTManager.isInCircleOfTrust" , me ) ; String [ ] data = { me . getMessage ( ) , name , entityId , realm } ; LogUtil . error ( Level . INFO , LogUtil . CONFIG_ERROR_RETREIVE_COT , data ) ; } return false ; }
target:  Determines if entity is in the circle of trust under the realm.