JBoss Developer: Message List - AbstractJavaEEHelper#authorizationAudit string converstionMost recent forum messageshttps://developer.jboss.org/community/picketbox/dev?view=discussionsJive Engage2014-01-04T16:11:03Z2014-01-04T16:11:03ZenAbstractJavaEEHelper#authorizationAudit string converstionPhilippe Marschall/people/pmmdo-not-reply@jboss.com2014-01-04T16:11:03Z2014-01-04T16:11:03Z<!-- [DocumentBodyStart:0cb063ea-fecb-485a-8ad3-4a47444e1ad5] --><div class="jive-rendered-content"><p>We're doing profiling of our Java EE application and sometimes JBoss code shows up. One of these places is <code>org.jboss.security.authorization.resources.EJBResource#toString()</code> which is called by <code>org.jboss.security.javaee.AbstractJavaEEHelper#authorizationAudit(String, Resource, Exception)</code>. Why is string conversion done there? The <code>HashMap</code> is of type <code>HashMap&lt;String,Object&gt;()</code> so any value would do and string conversion could be deferred to later and and if audit logging is actually done.</p></div><!-- [DocumentBodyEnd:0cb063ea-fecb-485a-8ad3-4a47444e1ad5] --><img src='/beacon?t=1553190742748' />2014-01-04T16:11:03Z5 years 2 months ago0