Results 1 to 7 of 7

Thread: What is best approach to implement custom token security mechanism for rest services?

  1. #1
    Join Date
    Nov 2010
    Posts
    12

    Default What is best approach to implement custom token security mechanism for rest services?

    Hi,

    I am wondering whether any article or document exists to show how we can use spring and spring security to implement a custom token based authentication/ access control for some restful services using spring security...

    I am using basic authentication now, but that seems to be not suitable for restful web services, any comment link or idea is welcome.

  2. #2
    Join Date
    Nov 2010
    Posts
    12

    Default

    Any comment on this?

    Thanks.

  3. #3
    Join Date
    Aug 2009
    Location
    Colorado
    Posts
    26

    Default

    Are you doing web services, rest services or both??

  4. #4
    Join Date
    Nov 2010
    Posts
    12

    Default

    Just rest services.
    Thanks.

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

    Default

    Why do you say that basic authentication isn't suitable for RESTful apps?
    Spring - by Pivotal
    twitter @tekul

  6. #6
    Join Date
    Aug 2009
    Location
    Colorado
    Posts
    26

    Default

    Quote Originally Posted by Luke Taylor View Post
    Why do you say that basic authentication isn't suitable for RESTful apps?
    Exactly, basic auth is one of the base level form of security that can be used for rest.

    Otherwise you need to look at other HTTP security examples. REST uses. straight HTTP security.

  7. #7
    Join Date
    Aug 2008
    Location
    odessa.ua
    Posts
    26

    Default

    Hey guys,
    did you find useful information about token authentication for rest with spring security? can you put some example here please?

Posting Permissions

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