我可以從我的課的retrieveUser方法延伸org.springframework.security.providers.dao.AbstractUserDetailsAuthenticationProvider
訪問HTTP會話使用Spring Security登錄進程
如果是這樣,如何內部訪問HTTP Session對象?下面是retrieveUser方法的簽名:
public UserDetails retrieveUser(String username, UsernamePasswordAuthenticationToken authentication);
我想放置在會議上,一些用戶信息,用戶登錄後.....