소스 검색

SEC-1070: AbstractRetryEntryPoint always uses RetryWithHttpEntryPoint logger. Converted to protected (non-static) and used getClass().

Luke Taylor 16 년 전
부모
커밋
ccf422af5a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      core/src/main/java/org/springframework/security/securechannel/AbstractRetryEntryPoint.java

+ 1 - 1
core/src/main/java/org/springframework/security/securechannel/AbstractRetryEntryPoint.java

@@ -20,7 +20,7 @@ import java.io.IOException;
  */
 public abstract class AbstractRetryEntryPoint implements ChannelEntryPoint {
     //~ Static fields/initializers =====================================================================================
-    private static final Log logger = LogFactory.getLog(RetryWithHttpEntryPoint.class);
+    protected final Log logger = LogFactory.getLog(getClass());
 
     //~ Instance fields ================================================================================================