Tomcat使用LockOutRealm / Jetty Server使用什么?

时间:2019-01-25 16:55:27

标签: tomcat jetty

我同时使用了Tomcat和Jetty,但是我注意到tomcat在server.xml中具有LockOutRealm功能。有人可以告诉我Jetty Server是否具有类似功能吗?

  <!-- Use the LockOutRealm to prevent attempts to guess user passwords via a brute-force attack -->
  <Realm className="org.apache.catalina.realm.LockOutRealm">
    <!-- This Realm uses the UserDatabase configured in the global JNDI
         resources under the key "UserDatabase".  Any edits
         that are performed against this UserDatabase are immediately
         available for use by the Realm.  -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm" resourceName="UserDatabase" />
  </Realm>

谢谢

0 个答案:

没有答案