Added 'nodeArchiveService' bean

- Added tests around transaction visibility
 - TODO: Need to set the owner of archived and restored nodes


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2786 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2006-05-08 13:47:19 +00:00
parent 7ae60915a5
commit 501f4b02a4
12 changed files with 384 additions and 68 deletions

View File

@@ -86,8 +86,8 @@ public interface AuthenticationService
* Carry out an authentication attempt. If successful the user is set to the current user.
* The current user is a part of the thread context.
*
* @param userName
* @param password
* @param userName the username
* @param password the passowrd
* @throws AuthenticationException
*/
public void authenticate(String userName, char[] password) throws AuthenticationException;
@@ -99,6 +99,14 @@ public interface AuthenticationService
*/
public void authenticateAsGuest() throws AuthenticationException;
/**
* Check if the given authentication exists.
*
* @param userName the username
* @return Returns <tt>true</tt> if the authentication exists
*/
public boolean authenticationExists(String userName);
/**
* Get the name of the currently authenticated user.
*