這項特性支援設定伺服器執行時期環境與應用程式的安全;它包含基本使用者登錄。這項特性取代 appSecurity-1.0,不包含 Servlet-3.0 或支援 LDAP 使用者登錄。如果要維護 Web 應用程式的安全,請新增 servlet-3.0 特性。如果要設定 EJB 應用程式的安全,請新增 ejbLite-3.1 特性。如果要使用 LDAP,請新增 ldapRegistry-3.0 特性。將 appSecurity-2.0 特性新增至伺服器之後,您需要配置使用者登錄,例如:基本使用者登錄或 LDAP 使用者登錄。
feature.enable.desc
<feature>appSecurity-2.0</feature>
feature.dependency.desc
com.ibm.websphere.appserver.appSecurity-2.0; type="osgi.subsystem.feature"