Page 2 of 2 FirstFirst 12
Results 11 to 13 of 13

Thread: How to assign a role to authentication provider

  1. #11
    Join Date
    Mar 2007
    Location
    Nantes, France
    Posts
    23

    Default

    Quote Originally Posted by Luke View Post
    I think you need to clarify what you're trying to achieve - are you trying to say that the only place you want your user details service called is via the authentication provider?
    Yes, something like that. The method to get user details returns important informations like user password, so I want to secure it and authorize only authentication provider to call it.

  2. #12
    Luke Taylor is offline Senior Member Acegi Security System TeamSpring Team
    Join Date
    Aug 2004
    Location
    Glasgow, Scotland
    Posts
    3,449

    Default

    Well, you can configure that kind of thing by running under a SecurityManager, or you could use aspectj. It's not really the kind of thing that Acegi should be doing - more about applying safeguard policies to your development process. If you're actually worried about code-level threats then you will have to do a lot more than just protecting the authentication provider.

    Where do you see a threat coming from?

  3. #13
    Join Date
    Mar 2007
    Location
    Nantes, France
    Posts
    23

    Default

    Well, I'm not a security specialist so I don't really know where the threat could come from. But all other methods will be secured (available only for authenticated and authorized users), so I want to do the same with the service method returning userdetails from the database, which is sensible data. Moreover we plan to expose these services methods to final users through business processes they can build with BPEL or something like that. So people who will potentially use these services are not only developers and are not always aware about security issues

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •