File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
JavaRanch » Java Forums » Products » Other Java Products and Servers
Bookmark "applet can Watch "applet can New topic
Author

applet can't upload file through orion user manager

Gordon Power
Greenhorn

Joined: Jan 10, 2006
Posts: 1
Hello
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.

Gordon
Marilyn de Queiroz
Sheriff

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


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

Joined: Mar 22, 2005
Posts: 42946
    
  70
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).
 
wood burning stoves
 
subject: applet can't upload file through orion user manager