<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How can I audit my java methods? in Alfresco Archive</title>
    <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279422#M232552</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Hello, I have encountered the same problem, I need to record the ip of the logged in user.&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;I defined the IpRecordService interface&amp;nbsp;and its implementation class IpRecordServiceImpl&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14.3pt;"&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@AlfrescoPublicApi&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;public interface &lt;/SPAN&gt;IpRecordService{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@Auditable&lt;/SPAN&gt;(parameters = {&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"userName"&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"ip"&lt;/SPAN&gt;}, recordable = {&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;true&lt;/SPAN&gt;})&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;void &lt;/SPAN&gt;recordIp(String userName, String ip);&lt;BR /&gt;}&lt;/PRE&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14.3pt;"&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@Service&lt;/SPAN&gt;(&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"ipRecordService"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;public class&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;IpRecordServiceImpl&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;implements&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;IpRecordService {&lt;BR /&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@Auditable&lt;/SPAN&gt;(parameters = {&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"userName"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"ip"&lt;/SPAN&gt;}, recordable = {&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;true&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;true&lt;/SPAN&gt;})&lt;BR /&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;public void&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;recordIp(String userName, String ip) {&lt;BR /&gt;System.&lt;SPAN style="color: #660e7a; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;out&lt;/SPAN&gt;.println(&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"recording---------------------------"&lt;/SPAN&gt;);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;I defined service beans in service-context.xml.&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14.3pt;"&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;bean &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="IpRecordService" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="org.springframework.aop.framework.ProxyFactoryBean"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="proxyInterfaces"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;cn.alfresco.jingtai.service.IpRecordService&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="target"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;ref &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="ipRecordService"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="interceptorNames"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;idref &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="AuditMethodInterceptor"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;and Below is the ipRecord.xml&lt;BR /&gt;&lt;PRE style="border: 0px; font-weight: inherit; font-size: 14.3pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xml version&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="1.0" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="UTF-8"&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;?&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;Audit &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;="&lt;/SPAN&gt;&lt;A class="" href="http://www.alfresco.org/repo/audit/model/3.2" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 19.0667px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://www.alfresco.org/repo/audit/model/3.2&lt;/A&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xmlns:&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xsi&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;="&lt;/SPAN&gt;&lt;A class="" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 19.0667px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xsi&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;:schemaLocation&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;="&lt;/SPAN&gt;&lt;A class="" href="http://www.alfresco.org/repo/audit/model/3.2" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 19.0667px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://www.alfresco.org/repo/audit/model/3.2&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alfresco-audit-3.2.xsd"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataExtractors&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataExtractor &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="auditModel.extractor.simpleValue" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataExtractor &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="nullValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="auditModel.extractor.nullValue" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataExtractors&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataGenerators&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataGenerator &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="currentUser" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="auditModel.generator.user" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataGenerators&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;PathMappings&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;PathMap &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;source&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="/alfresco-api/post/IpRecordService/recordIp" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;target&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="/ipRecordService/recordIp" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;PathMappings&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;Application &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="ipRecordService" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="ipRecordService"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;AuditPath &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="recordIp"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;RecordValue &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="userName" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;dataExtractor&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="/ipRecordService/recordIp/args/userName"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;RecordValue &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="ip" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;dataExtractor&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="/ipRecordService/recordIp/args/ip"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;AuditPath&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;Application&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;Audit&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;According to the above configuration, my custom audit does not work, is there a problem with my configuration file? Still what steps I missed.&lt;BR /&gt;I will be very grateful for any reply.&lt;BR /&gt;&lt;BR /&gt;@saruqui @Axel&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="73554" data-objecttype="3" href="https://community.alfresco.com/people/afaust" style="color: #2e7d32; background-color: transparent; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 1px 0px 1px calc(12px + 0.35ex);" rel="nofollow noopener noreferrer"&gt;Axel Faust&lt;/A&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 05 May 2019 05:43:05 GMT</pubDate>
    <dc:creator>harryxqb</dc:creator>
    <dc:date>2019-05-05T05:43:05Z</dc:date>
    <item>
      <title>How can I audit my java methods?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279418#M232548</link>
      <description>I don't know what steps do I need to follow in order to audit my own methods. I've tried this&lt;IMG id="smileytongue" class="emoticon emoticon-smileytongue" src="https://migration33.stage.lithium.com/i/smilies/16x16_smiley-tongue.png" alt="Smiley Tongue" title="Smiley Tongue" /&gt;ublic interface WfService {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;@Auditable(parameters="node")&amp;nbsp;&amp;nbsp;&amp;nbsp;WorkflowPath initWf(NodeRef node) throws Exception;} – wfAudit.xml –&amp;lt;Audit xmlns="http://www.alfresco.org/repo/audit/model/3.2" xmlns:xsi</description>
      <pubDate>Thu, 16 May 2013 19:37:13 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279418#M232548</guid>
      <dc:creator>saruqui</dc:creator>
      <dc:date>2013-05-16T19:37:13Z</dc:date>
    </item>
    <item>
      <title>Re: How can I audit my java methods?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279419#M232549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;please provide your bean definitions for your service. Have you provided separate public and private service beans where the public bean is a proxy factory that has the AuditMethodInterceptor applied?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Axel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 May 2013 14:15:26 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279419#M232549</guid>
      <dc:creator>afaust</dc:creator>
      <dc:date>2013-05-17T14:15:26Z</dc:date>
    </item>
    <item>
      <title>Re: How can I audit my java methods?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279420#M232550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;yes, I fixed it. I forgot to add the interceptor &lt;img id="smileyfrustrated" class="emoticon emoticon-smileyfrustrated" src="https://connect.hyland.com/i/smilies/16x16_smiley-frustrated.png" alt="Smiley Frustrated" title="Smiley Frustrated" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for your help &lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://connect.hyland.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Saru&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 20 May 2013 06:22:48 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279420#M232550</guid>
      <dc:creator>saruqui</dc:creator>
      <dc:date>2013-05-20T06:22:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I audit my java methods?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279421#M232551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello, I have encountered the same problem, I need to record the ip of the logged in user.&lt;/P&gt;&lt;P&gt;I defined the IpRecordService interface&amp;nbsp;and its implementation class IpRecordServiceImpl&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 14.3pt;"&gt;&lt;SPAN style="color: #808000;"&gt;@AlfrescoPublicApi&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public interface &lt;/SPAN&gt;IpRecordService{&lt;BR /&gt;    &lt;SPAN style="color: #808000;"&gt;@Auditable&lt;/SPAN&gt;(parameters = {&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"userName"&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"ip"&lt;/SPAN&gt;}, recordable = {&lt;SPAN style="color: #000080; font-weight: bold;"&gt;true&lt;/SPAN&gt;})&lt;BR /&gt;    &lt;SPAN style="color: #000080; font-weight: bold;"&gt;void &lt;/SPAN&gt;recordIp(String userName, String ip);&lt;BR /&gt;}&lt;/PRE&gt;&lt;P style="color: #000000; background-color: #ffffff; font-size: 14.3pt;"&gt;&lt;SPAN style="color: #808000;"&gt;@Service&lt;/SPAN&gt;(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"ipRecordService"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN style="color: #000080; font-weight: bold;"&gt;public class &lt;/SPAN&gt;IpRecordServiceImpl &lt;SPAN style="color: #000080; font-weight: bold;"&gt;implements &lt;/SPAN&gt;IpRecordService {&lt;BR /&gt; &lt;SPAN style="color: #808000;"&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808000;"&gt; @Auditable&lt;/SPAN&gt;(parameters = {&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"userName"&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; font-weight: bold;"&gt;"ip"&lt;/SPAN&gt;}, recordable = {&lt;SPAN style="color: #000080; font-weight: bold;"&gt;true&lt;/SPAN&gt;, &lt;SPAN style="color: #000080; font-weight: bold;"&gt;true&lt;/SPAN&gt;})&lt;BR /&gt; &lt;SPAN style="color: #000080; font-weight: bold;"&gt;public void &lt;/SPAN&gt;recordIp(String userName, String ip) {&lt;BR /&gt; System.&lt;SPAN style="color: #660e7a; font-weight: bold;"&gt;out&lt;/SPAN&gt;.println(&lt;SPAN style="color: #008000; font-weight: bold;"&gt;"recording---------------------------"&lt;/SPAN&gt;);&lt;BR /&gt; }&lt;BR /&gt;}&lt;BR /&gt;I defined service beans in service-context.xml.&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; font-size: 14.3pt;"&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;bean &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="IpRecordService" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="org.springframework.aop.framework.ProxyFactoryBean"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="proxyInterfaces"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;cn.alfresco.jingtai.service.IpRecordService&lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="target"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;ref &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="ipRecordService"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="interceptorNames"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;idref &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="AuditMethodInterceptor"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;and Below is the ipRecord.xml&lt;BR /&gt;&lt;PRE style="font-size: 14.3pt;"&gt;&lt;SPAN&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;xml version&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="1.0" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="UTF-8"&lt;/SPAN&gt;&lt;SPAN&gt;?&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;Audit &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="http://www.alfresco.org/repo/audit/model/3.2"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;       &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;xmlns:&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; background-color: #efefef; font-weight: bold;"&gt;xsi&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="http://www.w3.org/2001/XMLSchema-instance"&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;       &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; background-color: #efefef; font-weight: bold;"&gt;xsi&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;:schemaLocation&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="http://www.alfresco.org/repo/audit/model/3.2&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;    alfresco-audit-3.2.xsd"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;DataExtractors&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;DataExtractor &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="auditModel.extractor.simpleValue" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;DataExtractor &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="nullValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="auditModel.extractor.nullValue" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;DataExtractors&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;DataGenerators&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;DataGenerator &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="currentUser" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="auditModel.generator.user" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;DataGenerators&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;PathMappings&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;PathMap &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;source&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="/alfresco-api/post/IpRecordService/recordIp" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;target&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="/ipRecordService/recordIp" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;PathMappings&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;Application &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="ipRecordService" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="ipRecordService"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;AuditPath &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="recordIp"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;RecordValue &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="userName" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;dataExtractor&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="/ipRecordService/recordIp/args/userName"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;            &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;RecordValue &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="ip" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;dataExtractor&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; font-weight: bold;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; font-weight: bold;"&gt;="/ipRecordService/recordIp/args/ip"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;        &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;AuditPath&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;    &lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;Application&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; font-weight: bold;"&gt;Audit&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;According to the above configuration, my custom audit does not work, is there a problem with my configuration file? Still what steps I missed.&lt;BR /&gt;I will be very grateful for any reply.&lt;BR /&gt;&lt;BR /&gt;@saruqui @Axel&lt;A _jive_internal="true" data-userid="73554" data-username="afaust" href="https://community.alfresco.com/people/afaust" style="color: #2e7d32; border: 0px; font-weight: 200; text-decoration: underline; font-size: 1.286rem; margin: 0px;" rel="nofollow noopener noreferrer"&gt;Axel Faust&lt;/A&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 May 2019 05:17:18 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279421#M232551</guid>
      <dc:creator>harryxqb</dc:creator>
      <dc:date>2019-05-05T05:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: How can I audit my java methods?</title>
      <link>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279422#M232552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;Hello, I have encountered the same problem, I need to record the ip of the logged in user.&lt;/P&gt;&lt;P style="color: #727174; background-color: #ffffff; border: 0px;"&gt;I defined the IpRecordService interface&amp;nbsp;and its implementation class IpRecordServiceImpl&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14.3pt;"&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@AlfrescoPublicApi&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;public interface &lt;/SPAN&gt;IpRecordService{&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@Auditable&lt;/SPAN&gt;(parameters = {&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"userName"&lt;/SPAN&gt;, &lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"ip"&lt;/SPAN&gt;}, recordable = {&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;true&lt;/SPAN&gt;})&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;void &lt;/SPAN&gt;recordIp(String userName, String ip);&lt;BR /&gt;}&lt;/PRE&gt;&lt;P style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14.3pt;"&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@Service&lt;/SPAN&gt;(&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"ipRecordService"&lt;/SPAN&gt;)&lt;BR /&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;public class&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;IpRecordServiceImpl&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;implements&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;IpRecordService {&lt;BR /&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@Override&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #808000; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;@Auditable&lt;/SPAN&gt;(parameters = {&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"userName"&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"ip"&lt;/SPAN&gt;}, recordable = {&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;true&lt;/SPAN&gt;,&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;true&lt;/SPAN&gt;})&lt;BR /&gt;&lt;SPAN style="color: #000080; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;public void&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;recordIp(String userName, String ip) {&lt;BR /&gt;System.&lt;SPAN style="color: #660e7a; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;out&lt;/SPAN&gt;.println(&lt;SPAN style="color: #008000; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;"recording---------------------------"&lt;/SPAN&gt;);&lt;BR /&gt;}&lt;BR /&gt;}&lt;BR /&gt;I defined service beans in service-context.xml.&lt;/P&gt;&lt;PRE style="color: #000000; background-color: #ffffff; border: 0px; font-size: 14.3pt;"&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;bean &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;id&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="IpRecordService" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;class&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="org.springframework.aop.framework.ProxyFactoryBean"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="proxyInterfaces"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;cn.alfresco.jingtai.service.IpRecordService&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;value&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="target"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;ref &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="ipRecordService"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="interceptorNames"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;idref &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="AuditMethodInterceptor"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;list&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;property&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;bean&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;and Below is the ipRecord.xml&lt;BR /&gt;&lt;PRE style="border: 0px; font-weight: inherit; font-size: 14.3pt;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;?&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xml version&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="1.0" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;encoding&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="UTF-8"&lt;/SPAN&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;?&amp;gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;Audit &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xmlns&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;="&lt;/SPAN&gt;&lt;A class="" href="http://www.alfresco.org/repo/audit/model/3.2" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 19.0667px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://www.alfresco.org/repo/audit/model/3.2&lt;/A&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xmlns:&lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xsi&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;="&lt;/SPAN&gt;&lt;A class="" href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 19.0667px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://www.w3.org/2001/XMLSchema-instance&lt;/A&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN style="color: #660e7a; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;xsi&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;:schemaLocation&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&lt;SPAN style="border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;="&lt;/SPAN&gt;&lt;A class="" href="http://www.alfresco.org/repo/audit/model/3.2" rel="nofollow noopener noreferrer" style="color: #1e88e5; border: 0px; font-weight: inherit; text-decoration: none; font-size: 19.0667px; padding: 0px calc(12px + 0.35ex) 0px 0px;" target="_blank"&gt;http://www.alfresco.org/repo/audit/model/3.2&lt;/A&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; alfresco-audit-3.2.xsd"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataExtractors&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataExtractor &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="auditModel.extractor.simpleValue" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataExtractor &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="nullValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="auditModel.extractor.nullValue" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataExtractors&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataGenerators&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataGenerator &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="currentUser" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;registeredName&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="auditModel.generator.user" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;DataGenerators&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;PathMappings&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;PathMap &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;source&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="/alfresco-api/post/IpRecordService/recordIp" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;target&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="/ipRecordService/recordIp" &lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;PathMappings&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;Application &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="ipRecordService" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="ipRecordService"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;AuditPath &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="recordIp"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;RecordValue &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="userName" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;dataExtractor&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="/ipRecordService/recordIp/args/userName"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;RecordValue &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;key&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="ip" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;dataExtractor&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="simpleValue" &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;dataSource&lt;/SPAN&gt;&lt;SPAN style="color: #008000; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;="/ipRecordService/recordIp/args/ip"&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;/&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;AuditPath&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;Application&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;lt;/&lt;/SPAN&gt;&lt;SPAN style="color: #000080; background-color: #efefef; border: 0px; font-weight: bold; font-size: 19.0667px;"&gt;Audit&lt;/SPAN&gt;&lt;SPAN style="background-color: #efefef; border: 0px; font-weight: inherit; font-size: 19.0667px;"&gt;&amp;gt;&lt;/SPAN&gt;&lt;/PRE&gt;According to the above configuration, my custom audit does not work, is there a problem with my configuration file? Still what steps I missed.&lt;BR /&gt;I will be very grateful for any reply.&lt;BR /&gt;&lt;BR /&gt;@saruqui @Axel&lt;A _jive_internal="true" class="" data-containerid="-1" data-containertype="-1" data-objectid="73554" data-objecttype="3" href="https://community.alfresco.com/people/afaust" style="color: #2e7d32; background-color: transparent; border: 0px; font-weight: 200; font-size: 1.286rem; padding: 1px 0px 1px calc(12px + 0.35ex);" rel="nofollow noopener noreferrer"&gt;Axel Faust&lt;/A&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 05 May 2019 05:43:05 GMT</pubDate>
      <guid>https://connect.hyland.com/t5/alfresco-archive/how-can-i-audit-my-java-methods/m-p/279422#M232552</guid>
      <dc:creator>harryxqb</dc:creator>
      <dc:date>2019-05-05T05:43:05Z</dc:date>
    </item>
  </channel>
</rss>

