mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Added session id to the result of authentication call. Updated Java web service client to pass session id on cookieif present in authentication details.
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@5075 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -19,6 +19,7 @@ package org.alfresco.repo.webservice.authentication;
|
||||
import java.rmi.RemoteException;
|
||||
|
||||
import org.alfresco.repo.security.authentication.AuthenticationException;
|
||||
import org.alfresco.repo.webservice.Utils;
|
||||
import org.alfresco.service.cmr.security.AuthenticationService;
|
||||
import org.apache.commons.logging.Log;
|
||||
import org.apache.commons.logging.LogFactory;
|
||||
@@ -63,8 +64,8 @@ public class AuthenticationWebService implements AuthenticationServiceSoapPort
|
||||
{
|
||||
logger.debug("Issued ticket '" + ticket + "' for '" + username + "'");
|
||||
}
|
||||
|
||||
return new AuthenticationResult(username, ticket);
|
||||
|
||||
return new AuthenticationResult(username, ticket, Utils.getSessionId());
|
||||
}
|
||||
catch (AuthenticationException ae)
|
||||
{
|
||||
|
Reference in New Issue
Block a user