Package com.logicaldoc.core.automation
Class SecurityTool
java.lang.Object
com.logicaldoc.core.automation.SecurityTool
Utility methods to handle some security related operations from within the
 Automation
- Since:
- 8.4
- Author:
- Meschieri - LogicalDOC
- 
Constructor SummaryConstructors
- 
Method Summary
- 
Constructor Details- 
SecurityToolpublic SecurityTool()
 
- 
- 
Method Details- 
getUserRetrieves a user object- Parameters:
- username- the username
- Returns:
- the user object
 
- 
getUserRetrieves a user object- Parameters:
- userId- the user ID
- Returns:
- the user object
 
- 
getSessionRetrieves a session by it's identifier- Parameters:
- sid- identifier of the session
- Returns:
- the session that matches the identifier
 
 
-