List of usage examples for org.springframework.security.web.authentication.preauth PreAuthenticatedAuthenticationToken getAuthorities
public Collection<GrantedAuthority> getAuthorities()
From source file:jp.pigumer.app.UserDetailsServiceImpl.java
@Override public UserDetails loadUserDetails(PreAuthenticatedAuthenticationToken token) throws UsernameNotFoundException { LOG.info(Objects.toString(token, "null")); return new User(token.getName(), "<abc123>", token.getAuthorities()); }