Newbies kkoldewyn Posted August 19, 2008 Newbies Posted August 19, 2008 Has anyone experienced this issue before? I have authentication enabled in the web.xml file, and then tomcat users set up with username and passwords. I am first prompted for the username and password for viewing the web viewer, and then one more time once the java applet begins to load. I've attached a picture: I'm using super container 2.041, have tired embedding usernames and passwords, not sure what else I can try. Any ideas?
Jesse Barnum Posted August 20, 2008 Posted August 20, 2008 Hey Ken -Are you saying that you have enabled per-user permissions in Tomcat, in addition to the username and password set in the web.xml file? I have not experimented with that configuration. Does it work correctly if you only do one or the other?
Newbies kkoldewyn Posted August 20, 2008 Author Newbies Posted August 20, 2008 Hi Jesse, Yes, i've enabled per user in tomcat. It goes through if I turn authentication off completely, but then I won't have authentication. I don't have a password or anything set in the web.xml file, just uncommented the last section of the file. I posted the file at the end of this message. You can see that I left the username and auth sections blank, and then just uncommented that last portion. It does authenticate just fine when you get the java applet, it just pops up each time on every file, in addition to the web viewer prompting for username and password (although you can set it to remember that password.) It would be ideal if it would only prompt once and remember the password, or something along those lines. - Web.xml - <?xml version="1.0" encoding="UTF-8"?> SuperContainer FileMaker container replacement servlet macintoshFilesPath /Volumes/StorageHD/Documents/SuperContainer/Files This is where the files will be stored when running on the Mac platform. windowsFilesPath C:Documents and SettingsSuperContainerFiles This is where the files will be stored when running on the Windows platform. otherFilesPath /usr/local/SuperContainer/Files This is where the files will be stored when running on a platform other than Mac or Windows, such as Linux or Solaris. simpleAuthUsername Username which users must enter to access supercontainer files. If empty, any username will be accepted. simpleAuthPassword Password which users must enter to access supercontainer files. If empty, no authentication is required to access SuperContainer. activationCode ********************** Enter your license key here for multi-instance tomcat deployments registeredTo **************************** Enter your license owner name here for multi-instance tomcat deployments LogFilter com.prosc.supercontainer.LogFilter UploadFilter com.prosc.supercontainer.web.ActionFilter RegistrationFilter com.prosc.supercontainer.web.RegistrationFilter JSPModelFilter com.prosc.supercontainer.web.JSPModelFilter LogFilter /* RegistrationFilter /* UploadFilter /* JSPModelFilter /* RawData RawData Displays the raw file data for a SuperContainer resource com.prosc.supercontainer.web.RawData Edit Edit Edit via WebDAV com.prosc.supercontainer.web.Edit KitchenSink KitchenSink Shows all available elements, to be styles using CSS com.prosc.supercontainer.web.KitchenSink Error Error Default error page com.prosc.supercontainer.web.Error Registration Registration Allows a user to enter their registration code com.prosc.supercontainer.web.Registration Poll Poll ajax action for determining whether a resource has chnaged com.prosc.supercontainer.web.Poll List List List of SuperContainer files com.prosc.supercontainer.web.List RawData /RawData/* Edit /Edit/* KitchenSink /Files/* Error /Error/* Registration /Registration/* Poll /Poll/* List /List/* index.html 404 /Error Access all files All SuperContainer Files /* role1 tomcat admin BASIC SuperContainer
Recommended Posts
This topic is 5937 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now