ORCentral
|
Command to execute a login action. More...
Public Member Functions | |
Session | execute () throws ORException |
Executes the command. | |
void | setLocation (Location m_location) |
Location | getLocation () |
void | setUsername (String m_username) |
String | getUsername () |
void | setMinutesTimout (int minutesTimout) |
int | getMinutesTimout () |
void | setPassword (String password) |
String | getPassword () |
Command to execute a login action.
Definition at line 20 of file LoginCommand.java.
Session eu.coform.command.loginsession.LoginCommand.execute | ( | ) | throws ORException |
Executes the command.
Tries to login by creating a new session associating a user with a location. Naturally the user data must be valid and the location must exist to do this successfully.
ORException | if username or password are wrong, on internal errors or if the location is invalid |
Implements eu.coform.command.proto.Abstract.
Definition at line 39 of file LoginCommand.java.
Location eu.coform.command.loginsession.LoginCommand.getLocation | ( | ) |
Definition at line 179 of file LoginCommand.java.
int eu.coform.command.loginsession.LoginCommand.getMinutesTimout | ( | ) |
Definition at line 195 of file LoginCommand.java.
String eu.coform.command.loginsession.LoginCommand.getPassword | ( | ) |
Definition at line 203 of file LoginCommand.java.
String eu.coform.command.loginsession.LoginCommand.getUsername | ( | ) |
Definition at line 187 of file LoginCommand.java.
void eu.coform.command.loginsession.LoginCommand.setLocation | ( | Location | m_location | ) |
void eu.coform.command.loginsession.LoginCommand.setMinutesTimout | ( | int | minutesTimout | ) |
void eu.coform.command.loginsession.LoginCommand.setPassword | ( | String | password | ) |
void eu.coform.command.loginsession.LoginCommand.setUsername | ( | String | m_username | ) |