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

  • Home
  • SEARCH
  • 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 3631456
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T00:23:58+00:00 2026-05-19T00:23:58+00:00

I need to use Spring Security 3 in my application which is composed by

  • 0

I need to use Spring Security 3 in my application which is composed by Spring 3 for the server side and GWT 2.1 for the client side.

Client side and server side are totally decoupled, I mean they don’t belong to the same project in the eclipse workspace (server side is managed by maven and client side uses prebuilt ant files) and till now they “communicate” each other using Rest/Json.

Googling I found some tutorials and tips about integration with Spring Security but all of them suppose that “client side” knows spring-server-side classes, and so using @Controller @Autowired etc under the gwt.server package. In my case this is not possible (or not clean to do).

Is there a way to use Spring Security and keeping the code “decoupled”? Maybe for every (rest) client request I should use “basic authentication”?

Thanks,
Rand

  • 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-19T00:23:59+00:00Added an answer on May 19, 2026 at 12:23 am

    Here are some links I found and used when implementing GWT/Spring Security:

    http://blahti.wordpress.com/2010/02/04/basics-of-gwt-authentication/

    http://www.javacodegeeks.com/2010/12/securing-gwt-apps-with-spring-security.html

    In summary simply see GWT as static html pages to be served and rest calls just requests for static pages. Only if you want specific information in the client, which comes from spring security, like username, you need to add something to the server side, but this in your case can also be done via a rest call.

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

Sidebar

Related Questions

I am developing a GWT application which im using Spring Security to handle the
I am writing an application that uses GWT, some Spring MVC and Spring Security.
I need to use NSImage which appears need to be imported from <AppKit/AppKit.h> .
I need to use a datetime.strptime on the text which looks like follows. Some
I have a problem with Spring Security 3 and probably with i18n. I use
I need to test some security related classes that depend on Spring Security. This
I need to cut out and save/use part of a string in C#. I
I need to store a double as a string. I know I can use
I need to use sed to convert all occurences of ##XXX## to ${XXX} .
I need to use an alias in the WHERE clause, but It keeps telling

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.