|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface AuthenticatedService
Base interface for remote services interface and implementation. This interface should be extend where authentication and authorization is required for remote services execution.
| Method Summary | |
|---|---|
java.lang.String |
login(java.lang.String username,
java.lang.String password)
Authenticates a remote user onto Join application. |
void |
logout(java.lang.String token)
Logs out from Join application the user corresponding to the supplied token. |
| Method Detail |
|---|
java.lang.String login(java.lang.String username,
java.lang.String password)
throws InvalidLoginException,
java.rmi.RemoteException
username - Login of user for authenticationpassword - Password of corresponding user
InvalidLoginException - if user cannot be logged
java.rmi.RemoteException - if an exception occurs during the remote conversation
void logout(java.lang.String token)
throws java.rmi.RemoteException
token - An authentication token obtained with login() method.
java.rmi.RemoteException - if an exception occurs during the remote conversation
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||