public class XACMLPdpPIPFinderFactory extends PIPFinderFactory {
private ConfigurableEngineFinder pipFinder;
- private static Log logger = LogFactory.getLog(XACMLPdpPIPFinderFactory.class);
+ private static Log LOGGER = LogFactory.getLog(XACMLPdpPIPFinderFactory.class);
public XACMLPdpPIPFinderFactory() {
}
if (pipFinder == null) {
synchronized(this) {
if (pipFinder == null) {
- if (logger.isDebugEnabled()) {
- logger.debug("Creating default configurable engine finder");
+ if (LOGGER.isDebugEnabled()) {
+ LOGGER.debug("Creating default configurable engine finder");
}
pipFinder = new ConfigurableEngineFinder();
Properties xacmlProperties = null;
try {
xacmlProperties = XACMLProperties.getProperties();
} catch (Exception ex) {
- logger.error( XACMLErrorConstants.ERROR_SYSTEM_ERROR+ "Exception getting XACML properties: " + ex.getMessage(), ex);
+ LOGGER.error( XACMLErrorConstants.ERROR_SYSTEM_ERROR+ "Exception getting XACML properties: " + ex.getMessage(), ex);
PolicyLogger.error(MessageCodes.ERROR_SYSTEM_ERROR, ex, "Exception getting XACML properties");
return null;
}
if (pipFinder == null) {
synchronized(this) {
if (pipFinder == null) {
- if (logger.isDebugEnabled()) {
- logger.debug("Creating configurable engine finder using: " + properties);
+ if (LOGGER.isDebugEnabled()) {
+ LOGGER.debug("Creating configurable engine finder using: " + properties);
}
pipFinder = new ConfigurableEngineFinder();
((ConfigurableEngineFinder)pipFinder).configure(properties);