【发布时间】:2021-04-26 03:00:12
【问题描述】:
我正在使用org.springframework.security.ldap.authentication.LdapAuthenticationProvider.LdapAuthenticationProvider(LdapAuthenticator authenticator, LdapAuthoritiesPopulator authoritiesPopulator) 来验证我的客户。当我从 SoapUI 调用时,我可以看到每次执行此切入点execution(Authentication org.springframework.security.authentication.ProviderManager.authenticate(Authentication)) 当我从邮递员调用时,它只会在邮递员第一次调用时执行。
我的应用程序似乎以某种方式缓存了客户端,并说当我从邮递员那里打电话时它不需要重新验证,但是当我从 soapui 打电话时,这并没有发生。有什么区别?
我已尝试更改我在 postman 和 soapui 中可以看到的所有设置,但我似乎无法对结果产生任何影响。有人可以描述一下,或者给我指出一个描述正在发生的事情的资源吗?
【问题讨论】:
标签: spring-security postman soapui spring-ldap spring-security-ldap