How to identify user's device information?

Is there any way to identify user’s device information? Main purpose is to identify, if user is changing his/her device from last login or not. For example, I am a user “abc@test.com” and I logged in vaadin application using my android device. Next time I am using same login credentials i.e. “abc@test.com” but I logged in from My PC. If this is the case I want to send email to user that new sign in from the particular device something like gmail is giving. Thanks!!

Use

WebBrowser browser = Page.getCurrent().getWebBrowser();

And browser gives you plenty of info, see details here:

https://vaadin.com/download/release/8.4/8.4.2/docs/api/com/vaadin/server/WebBrowser.html

Thank you…!! Is there any way to get user’s MAC address?

Not with plain Vaadin, that information is not available to JavaScript (and thus Vaadin). You would need an Applet or something like that.

-Olli

Okay…Thank you