File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Other Java Products and Servers and the fly likes applet can't upload file through orion user manager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "applet can Watch "applet can New topic

applet can't upload file through orion user manager

Gordon Power

Joined: Jan 10, 2006
Posts: 1
I'm using a 3rd party applet which uploads a file to my orion server application. The applet works fine as long as it's contained in a webpage without user security constraints (declared in WEB.XML). However if the webpage has a user security constraint, the applet fails to upload the file. Can anyone tell me why this happens? I don't understand how the webpage can be accessed but the applet is blocked.

Much appreciated.

Marilyn de Queiroz

Joined: Jul 22, 2000
Posts: 9058
Does the applet have a way to authenticate itself as another user of the secured web page? Is the applet signed?

"Yesterday is history, tomorrow is a mystery, and today is a gift; that's why they call it the present." Eleanor Roosevelt
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42959
What kind of security constraint is it? If a browser/human user needs to be authenticated to use the page, then so does the applet.

How Basic Auth can be used from within an applet is described in the Applet FAQ (which is linked in my signature).
I agree. Here's the link:
subject: applet can't upload file through orion user manager
It's not a secret anymore!