User Story #104 (closed)
Opened 18 years ago
Closed 18 years ago
Users should be addable through build system
Reported by: | jamoore | Owned by: | jamoore |
---|---|---|---|
Priority: | minor | Milestone: | 3.0-M3 |
Component: | Deployment | Keywords: | iteration6 |
Cc: | Story Points: | n.a. | |
Sprint: | n.a. | Importance: | n.a. |
Total Remaining Time: | n.a. | Estimated Remaining Time: | n.a. |
Description
Take the SQL from
Getting Started tiki page for creating a user and create an ant target. "del-user" would most likely also be appropriate. A long-term strategy should also be considered.
r585 added simple initial version.
Originally http://bugs.openmicroscopy.org.uk/show_bug.cgi?id=644
Change History (4)
comment:1 Changed 18 years ago by jmoore
- Milestone changed from Unscheduled to 3.0-M3
comment:2 Changed 18 years ago by jmoore
- Keywords iteration6 added
comment:3 Changed 18 years ago by jmoore
r1011 reimplements <adduser/> under /client and also adds <addgroup/> as well. Rather than talking directly to the database, these now use the client ServiceFactory and therefore undergo AAA (authentication, authorization, auditing), etc.
However, there was one twist. There are very nasty groovy classloader issues in making this happen. Therefore I've filed #407 to slowly port all of these to Java. Currently, log4j issues crazy errors when running adduser and addgroup. We'll have to see what we can do to get rid of them. #407 is probably the easiest solution:
public class AddUser { public static void main(String[] args) { Experimenter e = new Experimenter(); e.setOmeName( args[0] ); // etc. } }
comment:4 Changed 18 years ago by jmoore
- Resolution set to fixed
- Status changed from new to closed
r769 updates the existing functionality for passwords (#181). This needs to be extended to allow the user to enter a password. (Though difficult because of Java standard-in issues:
http://issues.apache.org/bugzilla/show_bug.cgi?id=33354