protected UserDetails createUserDetails(Authentication token,
			Collection<? extends GrantedAuthority> authorities) {
		return new User(token.getName(), "N/A", true, true, true, true, authorities);
	}
protected UserDetails createUserDetails(Authentication token,
			Collection<? extends GrantedAuthority> authorities) {
		return new User(token.getName(), "N/A", true, true, true, true, authorities);
	}
protected UserDetails createUserDetails ( Authentication token , Collection < ? extends GrantedAuthority > authorities ) { return new User ( token . getName ( ) , "N/A" , true , true , true , true , authorities ) ; }
Creates the final <tt>UserDetails</tt> object. Can be overridden to customize the
contents.

@param token the authentication request token
@param authorities the pre-authenticated authorities.
Creates the final <tt > UserDetails< / tt > object . Can be overridden to customize the contents .