kaos.core.service.directory.authentication
Interface AuthenticationInterface

All Known Subinterfaces:
DirectoryService
All Known Implementing Classes:
CorbaAgentDirectoryServiceProxy, CougaarAgentDirectoryServiceProxy, DirectoryServiceProxy, GridAgentDirectoryServiceProxy, GridDirectoryServicePolicyCert, KAoSAgentDirectoryServiceProxy, KAoSDirectoryService, TCPAgentDirectoryServiceProxy, TunnelClient

public interface AuthenticationInterface

KAoSAuthenticationInterface


Method Summary
 void addAuthenticationObject(KAoSAuthenticationObject kao)
          Allows to add an authentication object to the Directory Service database.
 void editAuthenticationObject(KAoSAuthenticationObject kao)
          Allows to edit an authentication object at the Directory Service database.
 java.util.Map<java.lang.String,KAoSAuthenticationObject> getAllAuthenticationObjects()
          Allows to get all the authentication objects from the Directory Service database.
 boolean isUsernameRegistered(java.lang.String userid, java.lang.String password)
          Checks if the username is in the Directory Service database.
 void removeAuthenticationObject(KAoSAuthenticationObject kao)
          Allows to remove an authentication object from the Directory Service database.
 

Method Detail

addAuthenticationObject

void addAuthenticationObject(KAoSAuthenticationObject kao)
                             throws DirectoryFailure
Allows to add an authentication object to the Directory Service database.

Parameters:
kao - the authentication object
Throws:
DirectoryFailure

editAuthenticationObject

void editAuthenticationObject(KAoSAuthenticationObject kao)
                              throws DirectoryFailure
Allows to edit an authentication object at the Directory Service database.

Parameters:
kao - the authentication object
Throws:
DirectoryFailure

removeAuthenticationObject

void removeAuthenticationObject(KAoSAuthenticationObject kao)
                                throws DirectoryFailure
Allows to remove an authentication object from the Directory Service database.

Parameters:
kao - the authentication object
Throws:
DirectoryFailure

isUsernameRegistered

boolean isUsernameRegistered(java.lang.String userid,
                             java.lang.String password)
                             throws DirectoryFailure
Checks if the username is in the Directory Service database.

Parameters:
userid - the user name
password - the user password
Throws:
DirectoryFailure

getAllAuthenticationObjects

java.util.Map<java.lang.String,KAoSAuthenticationObject> getAllAuthenticationObjects()
                                                                                     throws DirectoryFailure
Allows to get all the authentication objects from the Directory Service database.

Throws:
DirectoryFailure