Programmatic use of Spring Security

前端 未结 6 1230
情话喂你
情话喂你 2020-12-23 09:47

I am using Wicket with the Wicket Auth Project for my presentation layer and I have therefore integrated it with Spring Security. This is the method which is called by Wicke

6条回答
  •  天命终不由人
    2020-12-23 10:23

    To do programmatic logout it's also possible to throw an org.springframework.security.core.AuthenticationException. For example, SessionAuthenticationException. In this case ExceptionTranslationFilter initiate logout.

提交回复
热议问题