不要使用 WebLogic ServletAuthentication invalidateAll 方法

此規則會偵測是否使用了 WebLogic ServletAuthentication 類別。會標示 weblogic.servlet.security.ServletAuthentication 類別的所有參照。

WebLogic ServletAuthentication 是具有專利的 API,無法在 WebSphere Traditional 或 Liberty 中使用。請使用 Java 平台中的 HttpServletRequest.login()HttpServletRequest.logout() 方法,來處理鑑別。

請參閱 Java 說明文件,以瞭解 HttpServletRequest 介面。