|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpt.digitalis.dif.controller.security.managers.impl.AuthenticationManagerStaticImpl
public class AuthenticationManagerStaticImpl
DIF's default implementation of an authentication manager. This implementation will manage authentication records for the DIF localy. No central authentication process is supported.
| Constructor Summary | |
|---|---|
AuthenticationManagerStaticImpl()
|
|
| 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 clientSpecificID,
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. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AuthenticationManagerStaticImpl()
| Method Detail |
|---|
public void disconnectClient(String clientIdentifier)
IAuthenticationManager
disconnectClient in interface IAuthenticationManagerclientIdentifier - the Id that identifies the specific client. Depends on the Channel used to communicateIAuthenticationManager.disconnectClient(java.lang.String)
public IDIFUser getLoggedUser(String clientIdentifier)
throws AuthenticationManagerException
IAuthenticationManager
getLoggedUser in interface IAuthenticationManagerclientIdentifier - the Id that identifies the specific client. Depends on the Channel used to communicate
AuthenticationManagerException - if the resources needed for authentication can't be accessedIAuthenticationManager.getLoggedUser(java.lang.String)public boolean isClientLogged(String clientIdentifier)
IAuthenticationManager
isClientLogged in interface IAuthenticationManagerclientIdentifier - the Id that identifies the specific client. Depends on the Channel used to communicate
IAuthenticationManager.isClientLogged(java.lang.String)
public IDIFUser logIn(String clientSpecificID,
String userID,
String password)
throws AuthenticationManagerException
IAuthenticationManager
logIn in interface IAuthenticationManagerclientSpecificID - 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 accessedIAuthenticationManager.logIn(java.lang.String,
java.lang.String, java.lang.String)public void logOut(String clientIdentifier)
IAuthenticationManager
logOut in interface IAuthenticationManagerclientIdentifier - the Id that identifies the specific client. Depends on the Channel used to communicateIAuthenticationManager.logOut(java.lang.String)public String toString()
toString in class ObjectObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||