Message Boards
Audit Plugin for CE
I noticed how liferay EE has audit ability, but CE does not. If i create a audit plugin for CE will this break some kind of terms of use? Curious since i do not want to think about it if i could be diving into legal issues.
Shagul Khajamohideen, modified 13 Years ago.
RE: Audit Plugin for CE
Liferay Master Posts: 758 Join Date: 9/27/07 Recent Posts
Looks like the audit hook code in incubation is publicly available at the below location.
http://svn.liferay.com/repos/public/plugins/incubation/hooks/audit-hook
Most of the files except liferay-plugin-package.properties have Enterprise license agreement terms on them.
Probably someone from LR team should answer the legal implications.
http://svn.liferay.com/repos/public/plugins/incubation/hooks/audit-hook
Most of the files except liferay-plugin-package.properties have Enterprise license agreement terms on them.
Probably someone from LR team should answer the legal implications.
Manish Kumar Gupta, modified 13 Years ago.
RE: Audit Plugin for CE
Liferay Master Posts: 535 Join Date: 5/16/08 Recent Posts
SW,
If you wish, you can create your own audit plugin from scratch.
If you wish, you can create your own audit plugin from scratch.
Laurie MacDougall Sookraj, modified 12 Years ago.
RE: Audit Plugin for CE
New Member Posts: 3 Join Date: 3/9/11 Recent Posts
Hi,
When I look at the files in the incubator branch I don't see any enterprise license agreement terms; is it ok to use this plugin with CE now?
Thanks,
~Laurie
When I look at the files in the incubator branch I don't see any enterprise license agreement terms; is it ok to use this plugin with CE now?
Thanks,
~Laurie
Vincent Paranpan, modified 12 Years ago.
RE: Audit Plugin for CE
New Member Posts: 17 Join Date: 10/14/10 Recent PostsManish Kumar Gupta:
SW,
If you wish, you can create your own audit plugin from scratch.
Hi Manish,
Can I use the audit-hooks available in the SVN repo, for my own customized audit service? is it legal?
Thanks,
Vincent
Mauro Almeida, modified 12 Years ago.
RE: Audit Plugin for CE
Junior Member Posts: 32 Join Date: 3/15/12 Recent Posts
Hi all.
I'm facing the same problem. I need to create an audit-trail hook that simply logs to a file those actions from users. Could someone point me in the right direction?
Would it be enough to activate Liferay's AuditFilter in portal-ext.properties and create my audit hook trail that logs to file the necessary information?
Thanks in advanced,
MJA
I'm facing the same problem. I need to create an audit-trail hook that simply logs to a file those actions from users. Could someone point me in the right direction?
Would it be enough to activate Liferay's AuditFilter in portal-ext.properties and create my audit hook trail that logs to file the necessary information?
Thanks in advanced,
MJA
David H Nebinger, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
As I've said in a previous post, the audit filter does absolutely nothing but populate a thread local w/ the current user info. This thread local is used by the audit hook and audit portlet when posting audit messages, and these pieces are all in EE.
What you need is not the auditing mechanism at all. All you need to do is implement a LoginPostAction class that does what you're asking. Something along the lines of:
Add this guy to the portal.properties file for the hook:
Done.
What you need is not the auditing mechanism at all. All you need to do is implement a LoginPostAction class that does what you're asking. Something along the lines of:
public class MyLoginPostAction extends Action {
public void run(HttpServletRequest req,HttpServletResponse resp) throws ActionException {
try {
User user = PortalUser.getUser(req);
// write user info to the target file
} catch (Exception e) {
throw new ActionException(e);
}
}
}
Add this guy to the portal.properties file for the hook:
login.events.post=com.example.MyLoginPostAction
Done.
Mauro Almeida, modified 12 Years ago.
RE: Audit Plugin for CE
Junior Member Posts: 32 Join Date: 3/15/12 Recent Posts
Hi David. First of all, thanks for all the help.
Actually, in terms of actions being logged, I may need something more. I need to log actions such as:
If Jonas is able to provide me a working audit hook and plugin for CE even if it is just for me to take a look and take some ideas, that would be great.
Best regards,
Mauro Almeida
David H Nebinger:
What you need is not the auditing mechanism at all. All you need to do is implement a LoginPostAction class that does what you're asking.
Actually, in terms of actions being logged, I may need something more. I need to log actions such as:
- Login/logout
- Edit user roles (who as edited which role)
- Edit role assignments
- Edit organization assignements
- ...
If Jonas is able to provide me a working audit hook and plugin for CE even if it is just for me to take a look and take some ideas, that would be great.
Best regards,
Mauro Almeida
Mika Koivisto, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 1519 Join Date: 8/7/06 Recent Posts
How about getting EE where you get that audit framework, a sample audit hook and a lot more?
Jonas Yuan, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Master Posts: 993 Join Date: 4/27/07 Recent Posts
Hi Mauro,
It is possible to make the Audit portlet working well in 6.1 CE GA1 (or 6.0.6 CE GA4).
I could give you free audit portlet (with audit hook in one plugin) for 6.1 CE GA1 (or 6.0.6 CE GA4) if ineeded.
That's, leverage Liferay portal message framework, and build new audit portlet with hooks.
Of course, as mentioned by @Mika, it would be better to use EE version with audit plugins, especially having support.
Thanks
Jonas
==================
The Author of Liferay Books:
Liferay 6.1 cookbook: Liferay Portal Systems Development
Liferay User Interface Development
Liferay Portal 6 Enterprise Intranets
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
It is possible to make the Audit portlet working well in 6.1 CE GA1 (or 6.0.6 CE GA4).
I could give you free audit portlet (with audit hook in one plugin) for 6.1 CE GA1 (or 6.0.6 CE GA4) if ineeded.
That's, leverage Liferay portal message framework, and build new audit portlet with hooks.
Of course, as mentioned by @Mika, it would be better to use EE version with audit plugins, especially having support.
Thanks
Jonas
==================
The Author of Liferay Books:
Liferay 6.1 cookbook: Liferay Portal Systems Development
Liferay User Interface Development
Liferay Portal 6 Enterprise Intranets
Liferay Portal 5.2 Systems Development
Liferay Portal Enterprise Intranets
David H Nebinger, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Wow, Jonas, you're still around!
In case you didn't know it, the download links for many of your books in your signature are no longer available. Folks have been trying to get word to you to no avail...
In case you didn't know it, the download links for many of your books in your signature are no longer available. Folks have been trying to get word to you to no avail...
Hitoshi Ozawa, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent Posts
David, Jonas just made the OpenX portlet available.
http://www.liferay.com/community/forums/-/message_boards/message/13195978
http://www.liferay.com/community/forums/-/message_boards/message/13195978
David H Nebinger, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
I know that one, I'm talking about the downloads that are supposed to go along w/ the books. Some of the download links for the source for the books is no longer available.
Jonas Yuan, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Master Posts: 993 Join Date: 4/27/07 Recent Posts
Thanks a lot, David,
It is true that some of the download links for the source for the books is no longer available. I am planning to bring download links back at
http://forgelife.net/portal/
Hope that I could do it as early as possble.
Thanks,
Jonas Yuan
It is true that some of the download links for the source for the books is no longer available. I am planning to bring download links back at
http://forgelife.net/portal/
Hope that I could do it as early as possble.
Thanks,
Jonas Yuan
Mauro Almeida, modified 12 Years ago.
RE: Audit Plugin for CE
Junior Member Posts: 32 Join Date: 3/15/12 Recent Posts
Hi Jonas,
That would be great. Even if I don't need all the features from the audit portlet and hook, that would be a great help for me to both 1)get a little more know-how on liferay hooks and to 2) use some ideas if implementing my own hook for auditing, only with the set of features that I require.
Best regards,
Mauro Almeida
Jonas Yuan:
It is possible to make the Audit portlet working well in 6.1 CE GA1 (or 6.0.6 CE GA4).
I could give you free audit portlet (with audit hook in one plugin) for 6.1 CE GA1 (or 6.0.6 CE GA4) if ineeded.
That would be great. Even if I don't need all the features from the audit portlet and hook, that would be a great help for me to both 1)get a little more know-how on liferay hooks and to 2) use some ideas if implementing my own hook for auditing, only with the set of features that I require.
Best regards,
Mauro Almeida
Jonas Yuan, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Master Posts: 993 Join Date: 4/27/07 Recent Posts
Just deleted this post.
Juan Gonzalez P, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 3089 Join Date: 10/28/08 Recent Posts
Thanks very much Jonas!!
Jonas Yuan, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Master Posts: 993 Join Date: 4/27/07 Recent Posts
Since the main idea was coming from EE Audit version , just removed download URL.
Thanks
Jonas Yuan
Thanks
Jonas Yuan
Hitoshi Ozawa, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 7942 Join Date: 3/24/10 Recent PostsSince the main idea was coming from EE Audit version , just removed download URL.
Does this mean you're not going to be making your version of Audit plugin available?
Jonas Yuan, modified 12 Years ago.
RE: Audit Plugin for CE
Liferay Master Posts: 993 Join Date: 4/27/07 Recent Posts
Yes, for Audit, just use EE version like 6.1 EE.
Neda Esmaeili, modified 9 Years ago.
RE: Audit Plugin for CE
New Member Posts: 12 Join Date: 12/14/13 Recent Posts
Hi Jonas
I need to audit portle for 6.1 CE GA1 , You can email me?
email: neda_esmaeili90@yahoo.com
Thancks
I need to audit portle for 6.1 CE GA1 , You can email me?
email: neda_esmaeili90@yahoo.com
Thancks
David H Nebinger, modified 9 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 14916 Join Date: 9/2/06 Recent Posts
Meera, I'm afraid that you may be bordering on copyright infringement here. The code you posted, although refactored to a different package, is basically the EE code w/ some minor changes.
Meera Prince, modified 9 Years ago.
RE: Audit Plugin for CE
Liferay Legend Posts: 1111 Join Date: 2/8/11 Recent Posts
Hi David ,
i modified post and i removed all and provided market place link so i just explained in conceptual undestanding .thank you for giving information....
Regards,
Meera Prince
i modified post and i removed all and provided market place link so i just explained in conceptual undestanding .thank you for giving information....
Regards,
Meera Prince
ronak vora, modified 4 Years ago.
RE: Audit Plugin for CE
Junior Member Posts: 25 Join Date: 9/26/18 Recent Postsheyy,Â
   Jonas Yuan and Neda Esmaeili is there this plugin available for now?
i need to audit portle for 6.1 CE GA1/GA2Â /GA3/GA4/GA5,/GA6 You can email me?
OR any one have this plugin
roypatel091@gmail.com.
Also for answer of @Shagul Khajamohideen there is error from
svn checkoutÂ
 HTTP status 413 'Request Entity Too Large' on '/repos/public/plugins/incubation/hooks/audit-hook'Â
Thanks in advance
Ronak VoraÂ