title: Best way to build java desktop app with security
body: <p>I'm building some desktop app in Java and i want to know what is the best way to add security into the application (login at startup) and how to tell gui to <strong>disable</strong> some elements. I use Spring and Hibernate. I'm new in Spring framework. Could be Spring Security usable in this scenario if so, how?</p>
  
  <p>Thanks</p>