Web-resource-collection blocking images

I'm making a webapp where I want a restricted area for my users. People can only see my login.jsp page if they aren't logged in. So I made this in web.xml:
     <security-constraint>
          <web-resource-collection>
               <web-resource-name>repository-tool</web-resource-name>
               <url-pattern>/*</url-pattern>
          </web-resource-collection>
          <auth-constraint>
               <role-name>developer</role-name>
          </auth-constraint>
     </security-constraint>
     <login-config>
          <auth-method>FORM</auth-method>
          <form-login-config>
               <form-login-page>/login.jsp</form-login-page>
               <form-error-page>/fout.jsp</form-error-page>
          </form-login-config>
     </login-config>
If I remove this piece of code, I can manually browse to my images, but my login.jsp page doesn't want to load anylonger ...
What am I doing wrong? :-(

try <url-pattern>/</url-pattern> this will restrict acees for the entire application.

Similar Messages

  • I want to block images from showing when I open a web page

    Firefox used to block images on websites, I can't figure how to set that up now. Is this still possible? I am tired of my sons being bombarded with advertisements with inappropriate images. Please help me fix this. I switched from Chrome because I was told this was possible on Firefox. If it's not I have no need to switch. Thanks

    Do a malware check with several malware scanning programs on the Windows computer.<br>
    Please scan with all programs because each program detects different malware.<br>
    All these programs have free versions.
    Make sure that you update each program to get the latest version of their databases before doing a scan.
    *Malwarebytes' Anti-Malware:<br>http://www.malwarebytes.org/mbam.php
    *AdwCleaner:<br>http://www.bleepingcomputer.com/download/adwcleaner/<br>http://www.softpedia.com/get/Antivirus/Removal-Tools/AdwCleaner.shtml
    *SuperAntispyware:<br>http://www.superantispyware.com/
    *Microsoft Safety Scanner:<br>http://www.microsoft.com/security/scanner/en-us/default.aspx
    *Windows Defender: Home Page:<br>http://www.microsoft.com/windows/products/winfamily/defender/default.mspx
    *Spybot Search & Destroy:<br>http://www.safer-networking.org/en/index.html
    *Kasperky Free Security Scan:<br>http://www.kaspersky.com/security-scan
    You can also do a check for a rootkit infection with TDSSKiller.
    *Anti-rootkit utility TDSSKiller:<br>http://support.kaspersky.com/5350?el=88446
    See also:
    *"Spyware on Windows": http://kb.mozillazine.org/Popups_not_blocked
    Note that plugins like Flash can display images as well.
    You can inspect and manage the permissions for the domain in the currently selected tab via these steps:
    *Click the "Site Identity Button" (globe/padlock) on the location bar
    *Click "More Information" to open "Tools > Page Info" with the Security tab selected
    *Go to the Permissions tab (Tools > Page Info > Permissions) to check the permissions for the domain in the currently selected tab
    You can check for more setting that allow to display images and do the opposite.
    *http://kb.mozillazine.org/Images_or_animations_do_not_load

  • If you right-click an image you can select to "Block Images" from the site, but how do you reverse this choice?

    If you right-click an image on a web page you can select to
    "Block Images from [the url of the site]".
    This works well, particularly to make the page printer-friendly, but how do you reverse this choice to see the images again?

    You can see all permissions for the current page in Tools > Page Info > Permissions
    If it is from a different domain then use this:
    *A way to see which images are blocked is to click the favicon (<i>Site Identification</i> icon) on the left side of the location bar.
    *A click on the "More Information" button will open the Security tab of the "Page Info" window (also accessible via "Tools > Page Info").
    *Open the <i>Media</i> tab of the "Page Info" window.
    *Select the first image and scroll down though the list with the Down arrow key.
    *If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Need a way to request for a web resource (e.g .css, .gif file) using jpdk

    I am wondering if there is any way by which we can request for a web resource from portal to portlet provider.
    Currently if in order to display image I need to make direct request to portlet provider rather than routing the request through portal. As a result of this there is no session affiliation.
    My web resource can also be .jsp or .html file
    Any suggestions are welcome.

    Hi Hernando,
    It seems I haven't put my question correctly, probably following might help me explain you what I require:
    Portlets are added to portal page. Portlet content is served by portlet provider. So when you are viewing a portal page containing portlets in reality portal requests the portlet data from portlet-provider. So the actual request flow is: Request for a portal page, portal analyzes portlets on the page, and then request the portlet provider for the content associated with portlet. In the exact reversal process data flow is: portlet-provider generates the content which is passed to portal & then portal forwards it to end user.
    Now want something similar to happen with images (.gif files). But the problem is I am failing to create a link for this resource. I want the request for image to flow through portal very much the same way as its doing for the content. In other words I want to create a link which would inform portal to request for the resource to portlet provider. In this scenario portlet provider would pass the image to portal which would be forwarded to end user. Currently to get the images I am making direct request to portlet provider there by bypassing the request to flow through portal, which I do not want. Above all this resource can be anything a css file or a image or a .js file.
    So can you suggest me how to achieve it?

  • I accidently right-clicked "Block Images..." while on Facebook. How do I change this?

    This was done by accident and I've tried a lot of different things in Tools/Options/Content and nothing seems to work.

    See:
    * http://kb.mozillazine.org/Images_or_animations_do_not_load
    You can use these steps to check if images are blocked:
    * Open the web page that has the images missing in a browser tab.
    * Click the favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If an image in the list is grayed and there is a check-mark in the box "<i>Block Images from...</i>" then remove that mark to unblock the images from that domain.

  • Can I use Web App data string (image) in a CSS hover function?

    I am developing a "show and tell" company employee profile using the Web App. I built my list item and the detailed items. Works fine. However, I have no hover function. So I created  some css - a div id and added a background image then a div hover with another image for the hover. This worked. I moved the code over from Dreamweaver to BC – inside the Web App (the list template). I replaced the image paths with the Web App data string - image ( ex. {tag_employee photo} ). Then I did the same for the hover – I switched out the image to the data string ( ex., {tag_employee photo2} ). It doesn't work now.
    All the CSS is written inside the body so it's not pulling from an outside path. I figured an outside path may not understand the data string.
    How can I get this to link with the image data string? Am I missing something?
    How can I create a image switch using CSS and the hover function WITH the BC Web App data strings?
    Below is how I wrote the DIV id:
    # List_photo {
        height: 200px;
        width: 200px;
        background-image:url("{tag_employee photo (200px)}");
        position: relative;
        margin-bottom:10px;
        display:block;
    # List_photo:hover {
        height: 200px;
        width: 200px;
        background-image:url("{tag_employee photo (hover)}");
        position: relative;
        margin-bottom:10px;
        display:block;
    Thanks!
    Robert

    Hi Robert,
    The concept of what you are doing will work (so long as the <style>s are on the actual page) but you need to append '_value' to any image tag to get the image url and not the HTML output of the image.
    So your tag would be {tag_employee photo (hover)_value}

  • TREX Installation, Error in phase - Install TREX web resources and finalize

    Hello,
    Platforms:
    SO - Win 2008 (R2) X64
    During the last phase "Install TREX web resources and finalize instance" in installation process of TREX 7.1, it show me a weird error...
    It seems that was some problem during the creation of sap start service of this new instance... but that is weird because I checked at services.msc and that service SAPTSM_02 and nothing seems wrong with it, it seems that was well created and it is in Started mode!... I checked firewall settings (all of them are in OFF status), I also checked CUA settings (is stopped)...
    I searched for this error and I found the following SDN forum:
    SAPNW EHP1 SR1
    I already press the retry button but it always show me the same error.
    During this phase the SAPInst window show some information and in there I see this two:
    creating sap start service of instance TSM/TRX02...
    service not correcttly installed.
    It is very weird thing!
    I will post some log files such as sapstartsrv.exe and sapinst.log.
    sapstartsrv.exe:
    Test call to Service failed: 80080005
    CO_E_SERVER_EXEC_FAILURE: Server execution failed
    Service not correctly installed
    sapinst.log:
    INFO 2012-01-20 16:29:24.446
    Creating file C:Program Filessapinst_instdirNW702STANDALONETREXCIsapstartsrv.exe.log.
    INFO 2012-01-20 16:29:24.457
    Output of F:usrsapTSMTRX02exesapstartsrv.exe -stdin is written to the logfile sapstartsrv.exe.log.
    WARNING 2012-01-20 16:31:41.182
    Execution of the command "F:usrsapTSMTRX02exesapstartsrv.exe -stdin" finished with return code -1. Output:
    Test call to Service failed: 80080005
    CO_E_SERVER_EXEC_FAILURE: Server execution failed
    Service not correctly installed.
    ERROR 2012-01-20 16:31:41.380
    MOS-01011  'F:/usr/sap/TSM/TRX02/exe/sapstartsrv.exe' returned with '-1'.
    ERROR 2012-01-20 16:31:41.381
    MOS-01011  'F:/usr/sap/TSM/TRX02/exe/sapstartsrv.exe' returned with '-1'.
    ERROR 2012-01-20 16:31:41.470
    FCO-00011  The step createService with step key |TREX_NW_CI_MAIN|ind|ind|TREX|ind|0|0|TREX_MAIN|ind|ind|TREX|ind|0|0|createService was executed with status ERROR ( Last error reported by the step :'F:/usr/sap/TSM/TRX02/exe/sapstartsrv.exe' returned with '-1'.).
    Can you help me please, how can I solve this?
    Kind regards,
    JDimas

    Hello Arjun Venkateswarlu,
    1).Is your Windows Firwall is enabled ? Disable the windows Firewall and also restart SAPinst
    - As I said the windows firewall is disable (OFF)
    2). Make sure that <sid>adm belongs to the local admins or Better provide the domain admin rights to the id which you are using for installation if it is domain installation.
    - All the created users during this installation belongs to local admins. This isn´t a domain installation!
    3). Try Restarting the installation by stopping and starting Windows and restart SAPINST and coninue Old Installation again.
    - I already did that... but it continues to show me the same error!
    Any other tip?
    Kind regards,
    JDimas

  • How to set an input box in an HTML Web Resource embedded in a CRM 2013 form

    I have embedded an HTML web resource that contains some input boxes in a custom CRM form. In the CRM form I have created some fields that corresponds to the input boxes in the web resource and they are hidden.
    The reason to do so was the limitation of the CRM not giving me the flexibility of the layout I was looking for. So basically, the user enters the data in the web resource and once saved they write to the hidden fields. On the other hand, when the form loads
    the values from the hidden fields are copied into the web resource input boxes.
    I am having a hard time setting those input boxes from the corresponding hidden fields on the form. I can read the crm fields easily using JavaScript. I can also get to the HTML web resource using the following:
    var target = Xrm.Page.getControl("WebResource_CriticalPath").getObject(); I also appended the contentWindow.document to the end of this and it comes back not null but when I try to get to the HTML element which is the inputbox I am trying to set
    the value to, I get a null reference. I am using:
    target.getElementById('input20'); to get to the element. I know this is not supported and I have to use Xrm.Page but I cannot figure out how to do so.
    Also, any advice on how to do the writing back (i.e. from the element to the form field) when the record is save would be helpful.
    I really appreciate any comments/help in this regard.

    Hello,
    What I would suggest is try to do everything from your html webresource. Add following code to set you field's value during onload:
    document.getElementById('input20').value = window.parent.Xrm.Page.getAttribute('hidden field id').getValue();
    Add following code to onchange hanlder to put changes back:
    window.parent.Xrm.Page.getAttribute('hidden field id').setValue(document.getElementById('input20').value);
    Dynamics CRM MVP/ Technical Evangelist at
    SlickData LLC
    My blog

  • Captivate 6: Can I hyperink to a web page from an image?

    In Captivate 6, can I hyperlink to a web page from an image?

    You can fill a smart shape with the image using the Texture button, but beware: choose a shape with the same size as the image. Maybe Sreekanth is telling the same, but I didn't get his 'assign custom image to it'? And if you want to have a pause for a shape button, you have to check it in the Timing accordion.
    Another approach is to put a click box on top of the image. You can open the URL in another window using the small triangle drop down list, and be sure to uncheck Continue Project to avoid that the playhead will continue.
    Lilybiri

  • Embed a web link into an image for email

    Embed a web link into an image for email.  Anyone knows how to do this?

    Fantastic!!
    Where did you get that?!   I'll try it with the "poster frame" of a movie.  I am so grateful.  It opens a whole new world.

  • Hello, I have includes a Web link in an image. When I convert the document in PDF, the link remains inactive. Could use me? Thank you.

    Hello,
    I have includes a Web link in an image.
    When I convert the document in PDF, the link remains inactive. Could use me?
    Thank you.

    No version of Pages will allow images to be links. We always got around this by bracketting the image with text and making the link in that.
    Pages 5 has lost the ability to have cross links in pdfs and seems to have a bug that disables any links after the first page.
    Peter

  • Change Height of Web Resource to Get Rid Of Blank and Scroll Bar

    Hi, I am a junior CRM developer. I'm using CRM online.
    I wrote a HTML web resources. In Web Resource Properties, I set the Number of Rows as 20.
    But the problem is: If the form window are maximized, there will be blank under web resource; if the form windows become smaller, there will be a scroll bar on the side.
    I want get rid of blank and scroll bar, automatically change height according to the size of the window.
    I tried checkbox "Automatically expand to use available space", but it didn't work.
    I don't think add CSS to my HTML will work, because CSS in HTML will change the html height, not the container in CRM.
    Thank you in advance.

    You most likely have a malware infection. Run and update the following scanners. (Not all programs detect the same infection.)
    1. [http://www.safer-networking.org/]
    2. [http://www.malwarebytes.org/]
    3. [http://www.spywareterminator.com/]
    4. [http://www.microsoft.com/security/malwareremove/default.aspx]
    If those programs do not do the trick, try to post in the following forum:
    1. [http://www.bleepingcomputer.com[
    Other spyware removal forums can be found in a search.
    Does the issue occur in [[Safe Mode]]?

  • Can I create a Smart Collection for images with Paths?

    I'd like a folder that automatically collects any image i have in my library in which i've drawn a vector clipping path in Photoshop. Is this possible?

    I couldn't figure that out.
    I was hoping the file would contain a metadata call that said "Path: yes" or something like that on which I could set up the smart collection but I couldn't find one either in Lightroom or Finder.
    It's possible this piece of metadata doesn't exist, and if so I'll solve my problem with keywords, but I wanted to ask before i assumed.

  • CrystalDecisions.Web.resources.dll for Crystal Report 2011

    Hi,
    I recently install Crystal Report 2011and I try to use localization for Crystal Report Viewer in a .NET web application.
    I read several tutorials which say to use CrystalDecisions.Web.resources.dll. I don't find this dll for Crystal Report 2011.
    Could you help me ?
    Thanks in advance,
    Fred.

    Hi Fred,
    I believe you are looking for Crystal Reports Viewer which was a separate download correct? Currently there is no download for CRV 2011. It's in the works and the link should be made available in a few weeks, no exact time yet.
    Thank you
    Don

  • Web Part specific DOM Manipulation. Two identical Script Editor Web Part code blocks.

    We have a script editor web part with javascript that references some jquery libraries.  The code creates web part properties and hides  DIV tag in the web part based on some conditions.  It works great until I try to place the same exact
    web part / code block on the same page twice. The way we are rolling this out we don' t users messing the code and we want the WP properties UI to be identical on both Web Parts.
    Given all this.. is it possible with jquery code to perform Web Part specific DOM manipulation without any conflict with other similar Web Parts and Script editor code blocks on the page?  Possible to dynamically change DIV Tag IDs, Jquery Variables
    and WP Properties to have the unique web part GUID?
    Possible?  Any ideas would be appreciated.
    demo of issue here:
    http://screencast-o-matic.com/watch/coeUlneNT6
    Code in question:

    Hi,
    I suggest you debug your code using IE F12 developer tools. Based on your description, you can try to add some conditions base on the web part ID.
    Or you can share your full code for further research.
    Best Regards,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Why can't i install iMovie or iPhoto on a 10.5.8

    i tried to download imovie and iphoto from app store and it tell me i need to update my software, but i go to my updates and there is no new updates =( help please really want to purchase imovie and iphoto

  • How to measure the payload size handled by XI ?

    Hi ! I need to find out the memory space occupied by XI payload from sender system to target system per month..  How can i find it ? Thanks, Laawanya

  • Lenovo T430s - where is the fingerprint driver+software download?!

    We recieved the Lenovo T430s today and I have reinstalled Windows 7 on it... I could not find the download for the Fingerprint software anywhere on the site... Any help?! Thank you in advance! -tsd

  • Bridge and the cloud installation

    I'm installing Photoshop CC on a computer that has PS 5.1; a message tells me to close Bridge before it can continue, but Bridge is not open. Please help.

  • Capturing Video after Upgrading to FCPHDv4.5

    Hi, I recently upgraded my Final Cut Pro to Final Cut Studio. While using Final Cut Pro before the upgrade, I was able to capture both 'Non-Controllable Device' and 'Firewire PAL'. However, after I installed the new version of Final Cut, the program