architecture: separate cmd parsing and authentication
Bug #390510 reported by
rhynolite
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
CleverNote |
New
|
High
|
rhynolite |
Bug Description
Command parsing and authentication must be separated.
Instaed of relying on
CmdLogin cmd = new CmdLogin();
cmd.parse(args);
to authenticate, the code should look like this:
CmdLogin cmd = new CmdLogin();
cmd.parse(args);
The Credentials object will contain all auth-related information
The CMD objects will be responsible on for cmdline parsing and storing the data - no functionality besides the "main" function.
Changed in clevernote: | |
assignee: | nobody → rhynolite (omer-shapira) |
importance: | Undecided → High |
To post a comment you must log in.