mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
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:
@@ -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.
|
||||
*
|
||||
|
Reference in New Issue
Block a user