[원문]
http://krams915.blogspot.com/2010/12/spring-security-mvc-querying.html
@Resource(name="sessionRegistry")
private SessionRegistryImpl sessionRegistry;
for (Object username: sessionRegistry.getAllPrincipals()) {
logger.debug(username);
}
- Posted
- Filed under JSP, JAVA