org.alfresco.filesys.alfresco
Class AlfrescoClientInfo

java.lang.Object
  extended by org.alfresco.jlan.server.auth.ClientInfo
      extended by org.alfresco.filesys.alfresco.AlfrescoClientInfo

public class AlfrescoClientInfo
extends org.alfresco.jlan.server.auth.ClientInfo

Alfresco Client Information Class

Contains additional fields used by the Alfresco filesystem drivers.


Field Summary
 
Fields inherited from class org.alfresco.jlan.server.auth.ClientInfo
LogonAdmin, LogonGuest, LogonNormal, LogonNull, LogonUnknown
 
Constructor Summary
AlfrescoClientInfo()
          Default constructor
AlfrescoClientInfo(java.lang.String user, byte[] pwd)
          Class constructor
 
Method Summary
 java.lang.String getAuthenticationTicket()
          Return the authentication ticket
 org.alfresco.service.cmr.repository.NodeRef getHomeFolder()
          Return the home folder node
 boolean hasAuthenticationTicket()
          Check if the client has an authentication ticket
 boolean hasHomeFolder()
          Check if the client has a home folder node
 void setAuthenticationTicket(java.lang.String ticket)
          Set the authentication ticket
 void setHomeFolder(org.alfresco.service.cmr.repository.NodeRef homeNode)
          Set the home folder node
 
Methods inherited from class org.alfresco.jlan.server.auth.ClientInfo
createInfo, getANSIPassword, getANSIPasswordAsString, getClientAddress, getDomain, getFactory, getGid, getGroupsList, getLogonType, getLogonTypeString, getNFSAuthenticationType, getOperatingSystem, getPassword, getPasswordAsString, getProcessId, getUid, getUserName, hasANSIPassword, hasClientAddress, hasGroupsList, isAdministrator, isGuest, isNullSession, setANSIPassword, setClientAddress, setDomain, setFactory, setGid, setGroupsList, setGuest, setLogonType, setNFSAuthenticationType, setOperatingSystem, setPassword, setPassword, setProcessId, setUid, setUserName, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AlfrescoClientInfo

public AlfrescoClientInfo()
Default constructor


AlfrescoClientInfo

public AlfrescoClientInfo(java.lang.String user,
                          byte[] pwd)
Class constructor

Parameters:
user - User name
pwd - Password
Method Detail

hasAuthenticationTicket

public final boolean hasAuthenticationTicket()
Check if the client has an authentication ticket

Returns:
boolean

getAuthenticationTicket

public final java.lang.String getAuthenticationTicket()
Return the authentication ticket

Returns:
String

hasHomeFolder

public final boolean hasHomeFolder()
Check if the client has a home folder node

Returns:
boolean

getHomeFolder

public final org.alfresco.service.cmr.repository.NodeRef getHomeFolder()
Return the home folder node

Returns:
NodeRef

setAuthenticationTicket

public final void setAuthenticationTicket(java.lang.String ticket)
Set the authentication ticket

Parameters:
ticket - String

setHomeFolder

public final void setHomeFolder(org.alfresco.service.cmr.repository.NodeRef homeNode)
Set the home folder node

Parameters:
homeNode - NodeRef


Copyright © 2005 - 2010 Alfresco Software, Inc. All Rights Reserved.