title: Grails - Spring Security / Social - Facebook plugin setAccessToken and getAccessToken
body: <p>I just got done walking through the install instructions on this page:<br>
  <a href="http://grails.org/plugin/spring-security-facebook" rel="nofollow">http://grails.org/plugin/spring-security-facebook</a></p>
  
  <p>I choose AuthUser for the User domain object name and AuthRole as my Role domain object name. In all other questions I choose the defaults or put in my Facebook App ID or Facebook App Secret.</p>
  
  <p>At the end of the process I have a AuthUser as my User. I also have a FacebookUser that implements FacebookUserDomain.</p>
  
  <p>When I try to run the app it tells me I haven't implemented getAccessToken or setAccessToken in my FacebookUser. This is being required by the FacebookUserDomain interface. Is this normal? Does the documentation need to be completed? What is the correct way to handle this?</p>
  
  <p><strong>UPDATE</strong><br>
  Here is the FacebookUser class code I tried to use to solve the problem.</p>
  
  <pre><code>class FacebookUser implements FacebookUserDomain {
    long uid
    String secret
    String session
    String email
    String accessToken
  
    static belongsTo = [user: AuthUser]
  
    static constraints = {
      uid unique: true
    }
  
    public String getAccessToken() {
      return accessToken
    }
  
    public void setAccessToken(String accessToken) {
      this.accessToken = accessToken
    }
  }
  </code></pre>
  
  <p>Also getting this error:Configuring Spring Security Core ...
  ... finished configuring Spring Security Core</p>
  
  <p>Configuring Spring Security Facebook ...
  ERROR: There is no dao configired for Facebook Auth
  ERROR: Stop configuring Spring Security Facebook
  2011-12-19 19:17:30,261 [main] ERROR util.JDBCExceptionReporter  - Unknown colum
  n 'deactivate_code' in 'where clause'
  could not execute native bulk manipulation query
  2011-12-19 19:17:30,496 [main] ERROR context.GrailsContextLoader  - Error execut
  ing bootstraps: No property found for name [facebookId] for class [class lmfirst
  .AuthUser]
  org.codehaus.groovy.grails.exceptions.InvalidPropertyException: No property foun
  d for name [facebookId] for class [class lmfirst.AuthUser]
          at lmfirst.UtilService.createMayor(UtilService.groovy:20)</p>