• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Weblogic security - ajax web service

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Has anyone created a ajax WebService, then deployed your application within Weblogic and allowed for an unauthenticated user to access that service?

We have developed an application that includes several security constraints that provide access to areas of the app for authenticated users. But, now I would like for someone (anyone) to access a URL without being authenticated.

Within the web.xml, I've created a security constraint that that I assumed would allow anyone access:

This configuration works locally, but not when deployed to the dev server.


I've even tried providing an auth-constraint:


When I try to access the URL: http://localhost:8080/services/MyService, I get an error stating: faultString: org.xml.sax.SAXParseException: White spaces are required between publicId and systemId.

But, if I log in to the application then use that URL, I'm able to see the available webservices.

How do I get around the authentication??

Thanks!
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to JavaRanch "WhyMe",

Please check your private messages.
 
author
Posts: 4335
39
jQuery Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
"clyles"

Your name still does not conform to the JavaRanch Naming Policy. Please review the policy and update it appropriately. This is your second warning.

Scott Selikoff
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic