BasicCredetials(String, String) constructor

Syntax

public BasicCredetials ( String username , String pwd )