private Header createSecurityHeader(){
  return new BasicHeader("Authorization","Basic " + createAuth());
}

private Header createSecurityHeader ( ) { return new BasicHeader ( "Authorization" , "Basic " + createAuth ( ) ) ; }
todo : currently the repo only supports form based authentication . that way a rest controller authenticate would need to be invoked and session needs to be passed along .
