[JIRA] Created: (JOST-194) org.opensaml.ESAPISecurityConfig should use singleton pattern like the default ESAPI reference class
Brent Putman (JIRA)
noreply at shibboleth.net
Wed Aug 15 19:23:06 EDT 2012
org.opensaml.ESAPISecurityConfig should use singleton pattern like the default ESAPI reference class
----------------------------------------------------------------------------------------------------
Key: JOST-194
URL: https://issues.shibboleth.net/jira/browse/JOST-194
Project: OpenSAML 2 - Java
Issue Type: Improvement
Affects Versions: 2.5.3
Reporter: Brent Putman
Assignee: Brent Putman
Priority: Minor
Our custom ESAPI SecurityConfiguration class impl doesn't implement the getInstance singleton pattern like the ESAPI reference impl (it's static so not on the interface and so was missed). The ESAPI locator attempts to reflectively instantiate the config instance every time via an object factory, and so a new instance is created every time, unless it implements a static getInstance. This is causing a lot of unnecessary object churn.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the commits
mailing list