[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.technology.equinox] UserAdmin wrong password data after restart equinox
|
Hi,
I?m using the UserAdmin Service to create a user administration and get
some strange effect when stop and starting equinox?
If I create a user with
User user = (User) userAdmin.createRole("Admin", Role.USER);
user.getProperties().put("login.name", "Admin");
user.getCredentials().put("login.password", "osgi");
((Group)adminstrators).addMember(user);
in an init() Method of my User Administration and then ?close? the equinox
console equinox stores the data in an preference file on the disk. If I
open this file I can see my user "Admin" with his password ?osgi?. If I
now start equinox console again and print a list of all users I see this:
User Admin:
Properties: {login.name=Admin}
Credentials: {login.password=[B@1a5ee7c}
which should normally look like this:
Properties: {login.name=Admin}
Credentials: {login.password=osgi}
Has someone n idea why the password is something like this above and not
the originally one????
Thanks for your answers!