title: Which is a preferred framework, approach for building a custom web application with self managed User roles, permissions in Java ?
body: <p>I need to find and select a framework with following capabilities to support web application development in java that need extensive </p>
  
  <blockquote>
    <p>User management with custom roles, permissions with ability to define, manage those. 
    Easy Administration support
    Integration with LDAP / ADFS / CAS capabilities
    Multi tenancy support
    Top level entity support along side multi tenancy such as each silo / tenant can have multiple projects </p>
  </blockquote>
  
  <p>We have chosen GWT as a client side development framework. </p>
  
  <p>We need to be able to restrict the actions visible to an end user based on his permissions / roles (multiple) </p>
  
  <p>Any recommendations of framework / approaches / schema will be helpful. </p>
  
  <p>We intend to build two releases to support RDBMS &amp; No SQL databases. </p>
  
  <p>Is there a readymade admin portal available to provide along with my application ?</p>