mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-24 17:32:48 +00:00
Added guest user support to FTP server/filesystem authenticator. Changed authentication to use the standard authentication classes so FTP should work with LDAP and Kerberos setups.
Fixed server session transaction rollback problem. git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2308 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -129,6 +129,24 @@ public class ClientInfo
|
||||
return null;
|
||||
}
|
||||
|
||||
/**
|
||||
* Return the password as a character array
|
||||
*
|
||||
* @return char[]
|
||||
*/
|
||||
public final char[] getPasswordAsCharArray()
|
||||
{
|
||||
char[] cpwd = null;
|
||||
|
||||
if (m_password != null)
|
||||
{
|
||||
String pwd = new String(m_password);
|
||||
cpwd = new char[pwd.length()];
|
||||
pwd.getChars(0, pwd.length(), cpwd, 0);
|
||||
}
|
||||
return cpwd;
|
||||
}
|
||||
|
||||
/**
|
||||
* Determine if the client has specified an ANSI password
|
||||
*
|
||||
|
Reference in New Issue
Block a user