Files
alfresco-community-repo/source/java/org/alfresco/filesys/alfresco/AlfrescoClientInfoFactory.java
Gary Spencer 6478d72321 Replaced the file server code with the Alfresco JLAN project.
Restructured the file server code packages.

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@7757 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
2008-01-06 16:44:00 +00:00

41 lines
861 B
Java

package org.alfresco.filesys.alfresco;
import org.alfresco.jlan.server.auth.ClientInfo;
import org.alfresco.jlan.server.auth.ClientInfoFactory;
/*
* AlfrescoClientInfoFactory.java
*
* Copyright (c) 2007 Starlasoft. All rights reserved.
*/
/**
* Alfresco Client Info Factory Class
*/
public class AlfrescoClientInfoFactory implements ClientInfoFactory {
/**
* Class constructor
*/
public AlfrescoClientInfoFactory() {
// Plug the client info factory in
ClientInfo.setFactory( this);
}
/**
* Create the extended client information object
*
* @param user String
* @param password byte[]
* @return ClientInfo
*/
public ClientInfo createInfo(String user, byte[] password) {
// Return an Alfresco extended client information object
return new AlfrescoClientInfo( user, password);
}
}