Security Problem when Access Other File types

we have report files in pdf and excel that generated from java.
we then call this file from browser through URL :http://java1.sdc-net/msp/excel/result/workbook.xls.
this just work fine, but when we implement j2ee declarative security constraint (we use custom jdbc realms):
<security-constraint>
<web-resource-collection>
<web-resource-name>root</web-resource-name>
<url-pattern>/index.htm</url-pattern>
</web-resource-collection>
<auth-constraint>
<role-name>user</role-name>
<role-name>master</role-name>
</auth-constraint>
</security-constraint>
its didn't work anymore.
the jsp's and servlet just work fine. but the others (pdf and excel) didn't work.
am i missed something ?

Hi ,
What kind of errors are you getting ?.Do you able to login without any problem ?.Could you enable the log level in security to FINEST and set the Audit enabled to true and run the application. It will tell you what's going wrong.
Let us know the result and please post the logs.
--Sankar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Similar Messages

  • SOLVED: Getting an Input/Output error when accessing certain files

    My system started failing a few days ago because of sudden Input/Output errors when trying to access certain files. It was running fine until various applications started crashing like for example Pidgin (in retrospect probably because of DBus crashing). I decided to reboot and now can't login anymore because the DBus module fails to load which in turn means that HAL doesn't load either and so I can't use my keyboard to login.
    The error message I get from DBus is that it can't access the file /etc/dbus-1/system.d/org.freedesktop.PolicyKit.conf because of an Input/Output error. I tried to fix/see what was wrong using the arch livecd. Because I thought my problem had to do with a pacman update that had failed before I'd rebooted, I updated my system and I noticed that when pacman tried to access other files it came back with the same error message. The files seemed pretty random, one of them was fakeroot.conf and then several library files like libfaad (sorry this is kind of vague but I'm away from home right now and can't go online very often so I'm writing this from memory).
    I'm guessing its a hard drive problem because checking the filesystem for errors came back with nothing. I was just wondering whether anyone had any other ideas before I go and reinstall. I'm going back home tomorrow so I'll be able to follow any advice/reinstall then.
    Last edited by siell (2010-04-08 17:01:37)

    UPDATE
    It seems to be fixed! The second run of e2fsck fixed some more issues and the files that were causing the problems earlier seemed to have bad inodes. Boots fine now and I can get into my system. I checked and I still have a reasonable amount of free space so I don't think that was the reason ... I have no idea how the filesystem got so corrupted out of nowhere.
    A few things are different, for example, it asked me to unlock the keyring and I couldn't mount my external encrypted drive anymore and had to do it manually with cryptsetup. e2fsck made quite a few changes so I imagine it's due to that. Shouldn't be to hard to fix though.
    Thanks for your help!

  • Problems emailing any other file format other than a .jpg

    I am having problems emailing any other file format other than a .jpg in mac Mail in Leopard. Is anyone else having this problem?
    I have tried PDF, .tif and .doc documents, and they are small files, less than 150 kb. I have checked to ownership on the images and it says that I can read and write to them. I have also checked with my ISP and my mailbox capacity is 10 MB and was recently emptied. I am able to log into my ISP's webmail portal and send these types of attachments through there successfully, which has made me convinced that it has to do with Leopard or Mac Mail because I did not have these problems in Tiger.
    When I send a message like this, Mail says, "Sending" for a while, and then says "Cannot send message using server:(Name of my server) Sending the message content to the server failed. Select a different outgoing mail server."

    I've been sending .doc files with/without also .jpg as attachments without problems so it is possibly not a Leopard problem. I know this doesn't solve your problem though. Someone else may be able to solve the problem.

  • "Problem: Unable to play file type for...". Moderator please help

    When using the spotlfy app from squeeze box I get this message every time: "Problem: Unable to play file type for" then list the song name. I can pick the music and see the art but no play. This is when I am attempting to stream from spotlfy on squeeze box. Logitech customer service told me spotlfy has not been running on squeezebox for weeks. Please help or I'll have to cancel subscription.

    The 3rd party plug-in solved this problem for me, but only after I'd figured out a few other things, so I'm sharing them here: a) You have to have BOTH plug-ins running, both the v 1.0 "official Spotify plug-in "  *and*  the third party plug-in, which is on v2.3.8 as I write this. b) after you have activated the third party plug-in (and re-started the Squuezebox server)  You have to open up the settings for the plug-in ( link in the far right colum)  I don't think it matters how you choose to set these (I didn't mess with them.) The critical thing is that you must log into your Spotify account from within the this plug-in settings screen in order for the 3rd party plug-in to do its job.  (And maybe you'll have to re-start the Squeezebox server yet again.  I just do that without even thinking when trying to sort out these problems.) What makes this all challenging is that the symptoms change at each step:  At first, with just the official plug-in activated, I got the "can't read file format" error message.  After activating the 3rd party plug in (but before logging in from inside it)  Spotify appeared to be working perfectly on the screen of my Squeezbox controller, indicating that a song was playing (even the bright white light  that shows something is streaming was lit.) However. no sound was actually coming through.  After I logged in as above, I finally got music to match all the on-screen indications. No logic to this that I can figure out.  It just seems typical of life with Squeezebox.

  • How do one can upload a file (a PDF, doc etc) while filling a web form through chrome or safari? It is possible to upload a photo from the camera role, but other file types can not be uploaded.

    How do one can upload a file (a PDF, doc etc) while filling a web form through chrome or safari? It is possible to upload a photo from the camera role, but other file types can not be uploaded.

    For a variety of reasons, mostly related to security, the iOS operating system limits what can be done with respect to file uploading and downloading. But whenever you encounter a limitation like this always think, "There must be an app for this."
    Check the apps James Ward suggests.

  • I'm unable to email PDF attachments, this has started in the last 2 weeks - any clues why as other file types are sending?

    I'm unable to email PDF attachments, this has started in the last 2 weeks - any clues why as other file types are sending?

    Greetings,
    That is rather strange. Attachments are attachments.  The big difference between what will send and what won't is usually either who you are sending it to (wrong email address) or how big the attachment is (most email providers have a limit to the total message size between 10 MB and 20 MB).
    -- What happens when you say you are "unable to email PDF attachments"?  What error message do you get?
    -- Are you sending these emails using the Mail program?
    -- What is the file size of the PDF you are trying to send?
    -- What happens if you compress the PDF before you email it (Highlight the PDF on the desktop and then go to File > Compress) ?
    -- What happens if you send the PDF to yourself?
    Cheers.

  • Show warning when accessing to files API.

    Hello,
    In my application I am using FileConnection APIs. Every time when accessing to files (get file size, dir list and others actions) showing warning: Allow applications to read data in: Memory card or Gallery Yes/No . Are possible remove this warning? If yes, then how can do it?
    Thank in advance.

    Hello.
    What Article? Please give a link for the article. need very mach
    Thanks

  • Hi.. I got some problem  when i want to type something , letters are not displaying immediately , they are displaying after some seconds. can you help me out

    Hi.. I got some problem  when i want to type something , letters are not displaying immediately , they are displaying after some seconds. can you help me out

    Hello:
    I am not being critical, but you seem to want Safari to behave exactly like Chrome.  Every software developer has a plan.  Sometimes features in one product parallel other products - sometime not.  There might be some things available that would help you.  Do not hold your breath, however, for suggestions from people who use these forums.  Most of us use (and like) Apple products.  If you wish to make suggestions for future improvements, there is a feedback area on this web site that Apple employees read/review.
    Candidly, your approach would be akin to suggesting that Apple emulate the "features" in Windows (heaven forbid).
    I use Safari (and have for years).  I use Firefox (not a bad product) as my alternate browser.
    Sorry for what appears to be a pedantic lecture.  However, I think most of us adapt to different products if we really want to use them.
    Barry
    Message was edited by: Barry Hemphill

  • On my mac I have both Quicktime X and Quicktime 7 pro. Both applications seem to be crashing quite often lately. This happens when playing all files types. I notice it more with .flv file. It usually happens when i grab the time slider bar and try to move

    On my mac I have both Quicktime X and Quicktime 7 pro. Both applications seem to be crashing quite often lately. This happens when playing all files types. I notice it more with .flv file. It usually happens when i grab the time slider bar and try to move it. The apps will freeze and I have to "force quit" to get them to close. Sometimes putting the computer to sleep and waking it up helps. Is there a way to remedy this?

    Oops, I needed to update my profile. I have snow leopard now

  • Downloads - I want to open some PDFs/other file types from the internet but not have to save them; I can't figure out how to view them and close them without having to save them first.

    Downloads - I want to open some PDFs/other file types from the internet but not have to save them. I can't figure out how to view them and close them without having to save them first. When I click on a file, the downloads box opens and depending on the setting, it auto saves the file or asks me where to save the file. What if I don't want to save it anywhere, I just want to view it and close it?

    https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox

  • Enable hints in other file types

    Hi I am doing some ASP code tweaks on a CMS skin, and the extention ASCX is used, however when I load it, there are no hints available.
    is there a way to add file extensions to the edge code so I can get hints for other file types than the usual HTM PHP JS etc. ?

    Yes, Edge Code supports extensions.  Here's an extension that will provide generic code hints just listing all the tokens in the current file: https://github.com/bigeyex/brackets-wordhint.  It should work for basically any file type.  This is similar to the simple hinting you get in editors like Sublime or TextMate.  If you're looking for more language-aware code hints, your best bet is to use an ASP-specific IDE like Visual Studio instead.
    - Peter

  • Hi, i have problem, when i press " File Import Video Frames to layers " please i need solve it fast. waiting.....

    hi, i have problem, when i press " File > Import >Video Frames to layers " he say to me [could not complete the video frames to layers command because photoshop does not support video on this version of windows]  so please i need solve it fast...

    We can't know. You have not provided any system info, no details about your video files nor do we actually know what version of what program you are referring to.
    Mylenium

  • Other File Types in Weblogic

    Hi all,
    I am new in webLogic, I try the tutorial http://www.webagesolutions.com/knowledgebase/wlskb/wlskb004/index.html and when every I use <b>Other File Types</b> unExpect error, and the server have to be turn down, why?
    beside where is the location of some defaul database on WebLogic?
    Thank you

    Sorry for that, so here is my goal.
    There is a folder contains may types of files: vi, lvlilb, txt and so on... I would like to make a VI that convert a given folder to LBB.
    What file types can be placed insinde and LLB - is required for me to remove unwanted files
    How to programmatically convert a directory into an LLB - I hope there is a VI what I can use as LLB Manager does for converting direcotries to LLB.
    Yes you are right, the last question is not important...
    +++ In God we believe, in Trance we Trust +++
    [Hungary]

  • Security problem when signed applet dynamically load plugins

    Hi!
    I have one problem : "security problem when signed applet dynamically load plugins"
    This is the scenario:
    the main program [app.jar]
    . contain applet and shared library (interface & implement of common class)
    . it is signed and run normally on browser
    . it can draw image loaded from other URL [ex] http://bp1.blogger.com/image.jpg
    . the image loader is in the shared library
    . dynamically load amazon.jar through URLClassLoader and reflection
    the plugin [amazon.jar]
    . search amazon product [ex] Harry Potter book
    . draw image on applet
    . use image loader from shared library, BUT CANNOT LOAD IMAGE
    The question: "Why it cannot load image, because the image loader is in the shared library which has been signed and working?" I tried to sign the amazon.jar too, but it did not work.
    Your reply would be very helpful. Thank you.
    Sovann

    hello. i have create a signed applet for A.jar. A.jar include two package B and C. the main applet class is within B.
    B need some classes in C to run the applet. but i got the error that class in package c are not found.
    what shall i do?

  • Problems when reading pdf files

    I use windows 7, and also have available Adobe Reader 5 and Adobe Reader X, but i receive some problems when reading pdf files. What can I do???

    Reader 5 is not Windows Compatible. Two different versions of the same computer can cause all sorts of problems. Remove all Acrobat and/or Reader software then re-install Reader X.

Maybe you are looking for

  • Set_report_object_property

    I have included a rdf file as a part of a form. now I am trying to call that report . but before doing so I have to set certain user defined parameters for that report. I basically have two user defined parameters . so I am using the set_report_objec

  • How can I download Adobe Reader to an external hard drive to use on a machine not internet connected

    I am trying to download Adobe Reader to my external 1Tb hard drive to use on a desk top that is not connected to the internet for security purposes. how can I choose which drive to save the download to?

  • Question about bit operation

    1/ I know I can use << to translate from number of index to the binary number. But how can I translate from binary number to number of index? (e.g. 1024 translates to 10) 2/ How can I separate two bits in a number? (e.g. 144 translates to 128+16) 3/

  • Printing abap form in polish

    Hello When i print a form in polish, special charactors like ł, ś, ć etc are all printed as '#. Polish is installed and we are in Unicode. Ty Hicham.

  • Downloading - DMG

    I have NeoOffice and everytime I try to download an update it won't let me. The download manager says the DMG file is not recognized. Is there anyway to remedy this?