public void readCredentials ( ConfigParams credentials ) { synchronized ( _lock ) { _items . clear ( ) ; for ( Map . Entry < String , String > entry : credentials . entrySet ( ) ) _items . put ( entry . getKey ( ) , CredentialParams . fromString ( entry . getValue ( ) ) ) ; } }
Reads credentials from configuration parameters . Each section represents an individual CredentialParams