I have SSRS client code in java to consume SSRS web services.My code is similar to what is mentioned in the site here.As of now for learning purpose i am hard coding my windows user name and password here
service.setUsername("<DOMAIN>\\<USER_NAME>");
service.setPassword("<PASSWORD>");
But if my windows passsword is changed or i depoy my web app to a server and other users try to retrieve report the authentication fails.Is there any way using which i can prevent hard coding my windows credentials or do i need to use any authentication procedure other than NTML.I am new to SSRS report generation,please help me in this regard .Any sample code that would help me is appreciated.Thanks in advance.