It's all about the answers!

Ask a question

Jazz-Server seems to ignore the password


Kai Nehring (3116) | asked May 01 '08, 4:18 p.m.
Hi,

it seems like the Jazz-Server ignores the password! I used the code below to login. It works with ADMIN:ADMIN as supposed to work but it works with ADMIN:helloWorld too.

What's the problem?

Thanks in advance
Kai


TeamPlatform.startup();
ITeamRepositoryService svc=TeamPlatform.getTeamRepositoryService();
repo = svc.getTeamRepository(repository);
repo.registerLoginHandler(new ITeamRepository.ILoginHandler() {
public ILoginInfo challenge(ITeamRepository repository) {
return new ILoginInfo() {
public String getUserId() {
return "ADMIN";
}
public String getPassword() {
return "helloWorld";
}
};
}
});
repo.login(new NullProgressMonitor());

2 answers



permanent link
Matt Lavin (2.7k2) | answered Jun 30 '08, 9:34 a.m.
FORUM MODERATOR / JAZZ DEVELOPER
In very old versions of Jazz Team Server the password was ignored, but that has not been true for a very long time.

How are you running the server, and what version are you running?

permanent link
Kai Nehring (3116) | answered Jul 02 '08, 8:00 p.m.
Hi,

This problem has been fixed now. I updated to the latest version when RC4 came out and everything is working as expected.

Thanks anyway
Kai



In very old versions of Jazz Team Server the password was ignored, but that has not been true for a very long time.

How are you running the server, and what version are you running?

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.