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 Summary
Constructors - 
Method Summary
 
- 
Constructor Details
- 
SecurityTool
public SecurityTool() 
 - 
 - 
Method Details
- 
getUser
Retrieves a user object- Parameters:
 username- the username- Returns:
 - the user object
 
 - 
getUser
Retrieves a user object- Parameters:
 userId- the user ID- Returns:
 - the user object
 
 - 
getSession
Retrieves a session by it's identifier- Parameters:
 sid- identifier of the session- Returns:
 - the session that matches the identifier
 
 
 -