User that makes deploy
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2012 12:47 PM
Hi All,
I have a script developed in Java that is being executed every time there's a deploy of content, to format html files and other utilities. I register in a log what files are deployed every time.
Now, I need to know what user did deploy, not what user is configured in deployment receiver (admin in my case), I would like to know what user had make onclick on the "deploy" button and what version is deploying actually.
¿Is there anyway to get this information from Alfresco?
I have been looking around the object org.alfresco.deployment.impl.server.Deployment but I don't see any method that could give me this information.
I have read about this class AuthenticationUtil.getFullyAuthenticatedUser(); but I can't find what artifact do I have to add to my pom to work with this class and I don't if it really work.
¿Any idea or help?
Alfresco 3.4d version over Linux machine.
Thank you in advance!
I have a script developed in Java that is being executed every time there's a deploy of content, to format html files and other utilities. I register in a log what files are deployed every time.
Now, I need to know what user did deploy, not what user is configured in deployment receiver (admin in my case), I would like to know what user had make onclick on the "deploy" button and what version is deploying actually.
¿Is there anyway to get this information from Alfresco?
I have been looking around the object org.alfresco.deployment.impl.server.Deployment but I don't see any method that could give me this information.
I have read about this class AuthenticationUtil.getFullyAuthenticatedUser(); but I can't find what artifact do I have to add to my pom to work with this class and I don't if it really work.
¿Any idea or help?
Alfresco 3.4d version over Linux machine.
Thank you in advance!
Labels:
- Labels:
-
Archive
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-12-2012 01:00 PM
You can probably get the user on the authoring side. From memory its probably already in the deployment report.
It's not available on the target side though.
It's not available on the target side though.
