mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
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
41 lines
861 B
Java
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);
|
|
}
|
|
}
|