title: Extending Cloudfoundry's UAA functionality
body: <p>We want to use <code>UAA</code> as an oauth2 provider for our services, but some of functionalities should changed or reconfigured to meet our needs. (Mostly involves rebranding and tweaking some of workflows)</p>
  
  <p>Now my question is how we can achieve this?
  My current solution is as follows: use <code>cloudfoundry-identity-uaa</code> as a <code>war</code> dependency in a new <code>war</code> project and then overwrite or add <code>spring</code> xml config files and add other classes needed to <code>war</code>.
  Is there any better approach?</p>
  
  <p><strong>Edit:</strong><br>
  Some of my desired changes:<br>
   1. Change Signup Workflow in order to an admin verifies a new user instead of using email verification<br>
   2. Change config of <code>TemplateResolver</code>s to enable <code>utf-8</code> templates<br>
   3. Disable <code>csrf</code> protection on some of endpoints</p>