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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T11:17:58+00:00 2026-05-15T11:17:58+00:00

I have a set of RESTful web services. These services are protected on a

  • 0

I have a set of RESTful web services. These services are protected on a Glassfish server by OpenSSO. When I attempt to call the RESTful services directly from a browser, OpenSSO intercepts the request, then forwards the request to the REST service once the user’s credentials are authenticated. OpenSSO utilizes a session cookie on subsequent requests (until the session is invalidated) . I’m sure this piece is working correctly.

We’d like to call these services from a Flex client. In order to enable PUT and DELETE operations, we set up BlazeDS to proxy the RESTful requests from the flex client to the REST service. When security to the RESTful services is disabled, this piece works great.

Now we’re trying to secure the entire application. We’ve placed the Flex SWF into a war and deploy to Glassfish. We’ve placed security around this resource and when a user attempts to download the SWF (through an HTML link in the war), OpenSSO intercepts the request, then forwards to the application on successful authorization (just like it does for the RESTful web services).

The problem is – the RESTful calls made by the Flex application (via BlazeDS) are failing. OpenSSO seems to be intercepting these requests as well and again asking for the users credentials. It doesn’t seem the authentication cookies are being passed to (or maybe by) the BlazeDS proxy.

How can I can access the cookies returned by the original SSO authorization request and have BlazeDS pass them along to the RESTful web service?

  • 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-15T11:17:59+00:00Added an answer on May 15, 2026 at 11:17 am

    Use firebug or any http proxy to check the following things –

    1. Are the blaze server and webserver on the same domain? If not, the browser will not send the cookies to blaze server.
    2. Are the two servers on the same server but different ports? Different ports are considered a violation of same origin policy by some browsers, and the cookie will not be sent to the server.
    3. What is the path set in the SSO cookie? If it is set to a specific path, the browser will not send the coookie to the blaze server.

    If the browser is sending the SSO cookie, then you need to provide additional details about your SSO server before someone can help you.

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

Sidebar

Related Questions

I'm implementing a set of RESTful services for some developments and one of these
I have created two separate web applications as well as a Restful API Server.
We are designing set of web services which will return XML string in response.
I've been tasked with porting/refactoring a Web Application Platform that we have from ASP.NET
I'm experimenting with WCF RESTful web services and I'm having a problem with Auto-Implemented
I am calling a RESTful web service (hosted in Azure) from my Windows Store
I have a RESTful WCF web service called "Palladium" as a project in my
I have a form used to update a record populated from a restful service.
I'm trying to consume a RESTful web service using WCF. I have no control
I have a WCF RESTful web service (using the webHttpBinding) running under IIS, exposed

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.