|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IAuthenticationManager
Defines the behavior for an authentication manager.
Method Summary | |
---|---|
void |
disconnectClient(String clientIdentifier)
Called to notify the authentication system that the client has disconnected. |
IDIFUser |
getLoggedUser(String clientIdentifier)
Searches for the user authenticated for this client in the authentication system and returns it if present. |
boolean |
isClientLogged(String clientIdentifier)
Checks if a given user is already authenticated on the Authentication Module. |
IDIFUser |
logIn(String clientIdentifier,
String userID,
String password)
Performs the log in of a user with a given id on the framework. |
void |
logOut(String clientIdentifier)
Performs the log out of a user with a given id on the framework. |
Method Detail |
---|
boolean isClientLogged(String clientIdentifier)
clientIdentifier
- the Id that identifies the specific client. Depends on the Channel used to communicate
IDIFUser logIn(String clientIdentifier, String userID, String password) throws AuthenticationManagerException
clientIdentifier
- the Id that identifies the specific client. Depends on the Channel used to communicateuserID
- the id of the user to log inpassword
- the password for the user
AuthenticationManagerException
- if the resources needed for authentication can't be accessedvoid logOut(String clientIdentifier)
clientIdentifier
- the Id that identifies the specific client. Depends on the Channel used to communicatevoid disconnectClient(String clientIdentifier)
clientIdentifier
- the Id that identifies the specific client. Depends on the Channel used to communicateIDIFUser getLoggedUser(String clientIdentifier) throws AuthenticationManagerException
clientIdentifier
- the Id that identifies the specific client. Depends on the Channel used to communicate
AuthenticationManagerException
- if the resources needed for authentication can't be accessed
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |