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 158653
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T10:43:10+00:00 2026-05-11T10:43:10+00:00

Can spring Acegi security be used for a social networking application where users can

  • 0

Can spring Acegi security be used for a social networking application where users can set their security preferences to share their data only with their friends?

The common scenario of the Acegi tutorials is where you want to authorize actions per user role, but what about authorizing users to view specific data, say, only their friends’?

Is it possible to use Acegi for that? How?

  • 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. 2026-05-11T10:43:11+00:00Added an answer on May 11, 2026 at 10:43 am

    Short answer: yes.

    Note that Acegi is now part of Spring, and is now known as Spring Security.

    As to how to it, that’s a much more complicated question, and likely has as many right answers as those willing to try. Your final solution will depend on the needs of the app your developing, the environment your in, and the organization you are designing for. I’ll assume that you want everyone (or most) to see the basic information, and that the sensitive information only appears on the page if the requester is a friend.

    I believe the most basic means of all will involve using the SecurityContext within your servlet/controllers/resources (far too many ways to design a web app to make assumptions here), and page templates (jsf, jsp, etc…, etc..), to get get access to the currently authenticated user, and include only the information that user is allowed to access.

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

Sidebar

Related Questions

Setup: Grails 1.1, Acegi/Spring Security plug-in I want users to log in over SSL,
Can I access spring bean that exposed using http invoker (server) from GWT application
I am writing a fairly simple Django application where users can enter string queries.
I'm building a webapp with role based access control using Acegi (Spring) security. So
I am writing a web app in Grails with the Acegi/Spring Security plug-in, and
In spring you can initialize a bean by having the applicationContext.xml invoke a constructor,
Can you use a Spring-WS WebserviceTemplate for calling a webservice and avoid that it
In .Net you can read a string value into another data type using either
I'm wrapping up an implementation of Spring Security in Grails. This is my first
At the moment I have a Ruby on Rails application which maintains my Users,

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.