Package org.alfresco.filesys.alfresco
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
ConstructorsConstructorDescriptionDefault constructorAlfrescoClientInfo(String user, byte[] pwd) Class constructor -
Method Summary
Modifier and TypeMethodDescriptionfinal StringReturn the authentication ticketfinal NodeRefReturn the home folder nodefinal booleanCheck if the client has an authentication ticketfinal booleanCheck if the client has a home folder nodefinal voidsetAuthenticationTicket(String ticket) Set the authentication ticketfinal voidsetHomeFolder(NodeRef homeNode) Set the home folder nodeMethods 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
-
Constructor Details
-
AlfrescoClientInfo
public AlfrescoClientInfo()Default constructor -
AlfrescoClientInfo
Class constructor- Parameters:
user- User namepwd- Password
-
-
Method Details
-
hasAuthenticationTicket
public final boolean hasAuthenticationTicket()Check if the client has an authentication ticket- Returns:
- boolean
-
getAuthenticationTicket
Return the authentication ticket- Returns:
- String
-
hasHomeFolder
public final boolean hasHomeFolder()Check if the client has a home folder node- Returns:
- boolean
-
getHomeFolder
Return the home folder node- Returns:
- NodeRef
-
setAuthenticationTicket
Set the authentication ticket- Parameters:
ticket- String
-
setHomeFolder
Set the home folder node- Parameters:
homeNode- NodeRef
-