如何在独立应用程序中使用Spring Security。我只需要使用Spring Security的Authentication部分。我需要根据Windows Active Directory对用户进行身份验证。在Web上有很多使用Spring安全性的例子,但在独立应用程序中找不到太多的例子。Spring Security在独立应用程序中的应用
我只是寻找的东西来完成这个方法
boolean isValidCredentials(String username, String password)
{
//TODO use spring security for authentication here..
}
很多感谢您的帮助[pap],这个工程 –