Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Equinox » UserAdmin wrong password data after restart equinox
UserAdmin wrong password data after restart equinox [message #114019] Fri, 11 July 2008 15:25
Juli is currently offline JuliFriend
Messages: 1
Registered: July 2009
Junior Member
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!
Previous Topic:IU definitions for different flavours of Eclipse
Next Topic:Does server-side equinox support to be deployed in WebSphere6.1?
Goto Forum:
  


Current Time: Sat Apr 27 04:31:00 GMT 2024

Powered by FUDForum. Page generated in 0.02594 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top