Package org.alfresco.repo.template
Class Session
- java.lang.Object
-
- org.alfresco.repo.processor.BaseProcessorExtension
-
- org.alfresco.repo.template.BaseTemplateProcessorExtension
-
- org.alfresco.repo.template.Session
-
- All Implemented Interfaces:
org.alfresco.processor.ProcessorExtension,TemplateProcessorExtension
public class Session extends BaseTemplateProcessorExtension
Support session information in free marker templates.- Author:
- Andy Hind
-
-
Constructor Summary
Constructors Constructor Description Session()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetTicket()Get the current authentication ticket.voidsetServiceRegistry(ServiceRegistry services)Sets the service registry-
Methods inherited from class org.alfresco.repo.template.BaseTemplateProcessorExtension
getTemplateImageResolver, setTemplateImageResolver
-
Methods inherited from class org.alfresco.repo.processor.BaseProcessorExtension
getExtensionName, register, setExtensionName, setProcessor
-
-
-
-
Method Detail
-
setServiceRegistry
public void setServiceRegistry(ServiceRegistry services)
Sets the service registry- Parameters:
services- the service registry
-
getTicket
public java.lang.String getTicket()
Get the current authentication ticket.- Returns:
- String
-
-