SOAP Http security

Hi

I am using a API test as a wrapper test passing parameters to it which works fine for most part but there are a few fields where it is not possible to parameterize the field. For example in the Security Settings -HTTP

 

Is there anyway to set these fields from a parameter? I am guessing it needs to be done thru code since its not possible with gui. ?