Class AlfrescoClientInfo

java.lang.Object
org.alfresco.jlan.server.auth.ClientInfo
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

    Constructors
    Constructor
    Description
    Default constructor
    AlfrescoClientInfo(String user, byte[] pwd)
    Class constructor
  • Method Summary

    Modifier and Type
    Method
    Description
    final String
    Return the authentication ticket
    final NodeRef
    Return the home folder node
    final boolean
    Check if the client has an authentication ticket
    final boolean
    Check if the client has a home folder node
    final void
    Set the authentication ticket
    final void
    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 Details

    • AlfrescoClientInfo

      public AlfrescoClientInfo()
      Default constructor
    • AlfrescoClientInfo

      public AlfrescoClientInfo(String user, byte[] pwd)
      Class constructor
      Parameters:
      user - User name
      pwd - Password
  • Method Details

    • hasAuthenticationTicket

      public final boolean hasAuthenticationTicket()
      Check if the client has an authentication ticket
      Returns:
      boolean
    • getAuthenticationTicket

      public final 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 NodeRef getHomeFolder()
      Return the home folder node
      Returns:
      NodeRef
    • setAuthenticationTicket

      public final void setAuthenticationTicket(String ticket)
      Set the authentication ticket
      Parameters:
      ticket - String
    • setHomeFolder

      public final void setHomeFolder(NodeRef homeNode)
      Set the home folder node
      Parameters:
      homeNode - NodeRef