提交 96c9ce19 编写于 作者: O Oleg Nenashev

FindBugs: CliManagerImpl#authenticationFilter should be transient , no usages outside constructor

上级 65d90482
......@@ -50,10 +50,11 @@ public class CliManagerImpl implements CliEntryPoint, Serializable {
private Authentication transportAuth;
//TODO: Migrate the code to Callable decorator
/**
* Runs callable from this CLI client with the transport authentication credential.
*/
private final CallableFilter authenticationFilter = new CallableFilter() {
private transient final CallableFilter authenticationFilter = new CallableFilter() {
public <V> V call(Callable<V> callable) throws Exception {
SecurityContext context = SecurityContextHolder.getContext();
Authentication old = context.getAuthentication();
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册