ISE-ComProg-After-Midterm/screwdriver-3.5.6/box/snippets/java/ControllerBelongLDAP.java

7 lines
329 B
Java
Raw Normal View History

2020-10-29 09:38:56 +00:00
import org.springframework.security.core.Authentication;
import org.springframework.security.core.context.SecurityContextHolder;
import org.springframework.security.ldap.userdetails.InetOrgPerson;
import org.springframework.security.ldap.userdetails.LdapUserDetails;
import org.springframework.security.ldap.userdetails.Person;