Giriş
Şu satırı dahil ederiz
Şu satırı dahil ederiz
import org.springframework.security.web.authentication.AuthenticationSuccessHandler;
Açıklaması şöyleIt has the direct responsibility of deciding what to do after a successful authentication (like controlling the navigation based on the authenticated user’s role to the subsequent destination using a redirect or a forward).Şeklen şöyle
You can also set headers to response or save a token value to a cache or save an audit log as a successful login.
Ready to Use Handlers (within Spring Security):
AbstractAuthenticationTargetUrlRequestHandler,
SimpleUrlAuthenticationSuccessHandler
Hiç yorum yok:
Yorum Gönder