Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6973879
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T17:09:55+00:00 2026-05-27T17:09:55+00:00

I just got done walking through the install instructions on this page: http://grails.org/plugin/spring-security-facebook I

  • 0

I just got done walking through the install instructions on this page:
http://grails.org/plugin/spring-security-facebook

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.

At the end of the process I have a AuthUser as my User. I also have a FacebookUser that implements FacebookUserDomain.

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?

UPDATE
Here is the FacebookUser class code I tried to use to solve the problem.

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
  }
}

Also getting this error:Configuring Spring Security Core …
… finished configuring Spring Security Core

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)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-27T17:09:55+00:00Added an answer on May 27, 2026 at 5:09 pm

    You don’t need to make get/set for accessToken, as it automaticaly added by Groovy itself. Having String accessToken is enought

    As about Facebook Auth dao – did you executed grails s2-init-facebook? It generates default Dao implementation for you, and register it at conf/spring/resources.groovy

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I just got done working through the Django tutorials for the second time, and
I just got done following the steps in this MSDN article on creating a
I just got done setting up my app to work with authlogic following this
Ok so this is super basic. I just got done implementing the collapsible panel
Just got a question about generics, why doesn't this compile when using a generic
I just got through manually removing the bin\ and obj\ folders from around 30
I just got this error message: ... from c:/ruby/lib/ruby/gems/1.8/gems/... ... 10 levels... from c:/ruby/lib/ruby/gems/1.8/gems/...
I have this huge VB project which i just got from some one. i
I just got done reading Rick Anderson's article on Securing your ASP.NET MVC application
I just got done reviewing the Notepad tutorial and looking at how they do

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.