Mercurial > dive4elements > framework
comparison artifact-database/src/main/java/de/intevation/artifactdatabase/DefaultUserFactory.java @ 133:2950c6011afa
Fixed typo in keys.
Removed superfluous identifier in UserFactory.createUser().
Added backend stubs for handling of users.
artifacts/trunk@1358 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 02 Mar 2011 10:07:37 +0000 |
parents | 147610c43863 |
children | 19267b9960c3 |
comparison
equal
deleted
inserted
replaced
132:6f1e8c08f747 | 133:2950c6011afa |
---|---|
49 * @param name The name for the new user. | 49 * @param name The name for the new user. |
50 * @param role The role for the new user. | 50 * @param role The role for the new user. |
51 * @param context The CallContext. | 51 * @param context The CallContext. |
52 */ | 52 */ |
53 public User createUser( | 53 public User createUser( |
54 String identifier, | |
55 String name, | 54 String name, |
56 Document role, | 55 Document role, |
57 Object context) | 56 Object context) |
58 { | 57 { |
59 logger.debug("DefaultUserFactory.createUser: " + name); | 58 logger.debug("DefaultUserFactory.createUser: " + name); |
59 | |
60 String identifier = "FIXME"; | |
60 | 61 |
61 return new DefaultUser(identifier, name, role); | 62 return new DefaultUser(identifier, name, role); |
62 } | 63 } |
63 | 64 |
64 | 65 |