title: store grails domain variable in springsecurity session object on login
body: <p>I'm using spring security.  I have a user object which does not contain a variable that will need to be displayed on several pages when the user logs in.  The domains look like:</p>
  
  <pre><code>class User {
      String username
      String password
      boolean enabled
      boolean accountExpired
      boolean accountLocked
      boolean passwordExpired
      Integer securityQuestion
      String securityAnswer
  
  }
  
  class Profile {
     User user
     String displayMe  //this is actually a calculated transient string based on some other info
  }
  </code></pre>
  
  <p>Profile and User are separate classes.  I need to store profile.displayMe in the session for use in some gsps.  I don't have one big User domain because the domain model has several profile types and combining them all into a giant User domain was messy.  Combining the domains in order to have User.displayMe isn't an option.  </p>
  
  <p>Where in springsecurity would I store profile.displayMe in the session?  I'm not that familiar with springsecurity yet so I'll need some specific help, such as 'in the auth method of LoginController.groovy (the default login controller of springsecurity).</p>