JSP protected pages are "forbidden" when request passed with access URL

Dear All,
I am encountering a very strange problem. Let me know if you have any solution for this issue:
Setup:
1. Dedicated OpenSSO idp (different domain)
2. Service Provider - contains a portal which in turn uses a webservice.
Both the portal and web services are installed on the Tomcat server.
3. OpenSSO agent for Tomcat is also installed on the SP machine.
Now, when I deploy my client portal and the web service, I am not able to access:
1. wsdl (like, http://localhost:8080/Service?wsdl)
2. Any jsp page to which I pass request parameters through URL. (like, http://localhost:8080/test.jsp?test=1
I get a message indication - resource is forbidden. (Note, I have already done a OpenSSO login prior to this. Also access is granted to the above mentioned URLs for the logged in user).
Let me know if I am missing out something.
Thanks,
tarak

Hi All,
I got a solution to this problem.
Refer: http://blogs.sun.com/JohnD/entry/opensso_wildcards_and_handling_resources
Extract:
Handling Resources That Contain Query Strings:
Some resources use a query string, which is the part of a URL that contains data to be passed to web applications. The following is a feasible example of a URL that contains a query string: http://AgentHost/path/app?query-string. The question mark (?) is the separator. It is not part of the query string. Many scenarios exist in which query strings might be used. They can be used for personalization of the user's session. Sometimes an application might add some locale information for a page request. The following example demonstrates the use of such locale information:
http://AgentHost.com:8080/sampleapp/main.jsp?language=en&country=US.
Neither the multi-level wildcard (*) nor the one-level wildcard (--) match the question mark. Therefore, to define a policy resource that can handle the question mark, use the multi-level wildcard on both sides of a question mark, as follows: ?* (asterisk-question mark-asterisk).

Similar Messages

  • Web pages are black when using Safari 4.0.3 on Windows 7

    Web pages are black when using Safari 4.0.3 on Windows 7. It does not matter what page I try to view, all page are black. Sometime I can see pictures and white text box.
    Screen capture:
    http://users.jyu.fi/~ksalone/virhe/Safari403_Problem_onWin7.PNG

    Hi and welcome....
    Try deleting the temporary internet files (cache)
    How to Delete the Contents of the Temporary Internet Files Folder
    Carolyn

  • Can you password protect your mail so when you want to access any mail you must enter a password?

    Can you password protect your email so when you want to access any of your mail accounts you must enter a password?  In other words before I can see my mail I must enter a password.

    On Oct 10, 2007, Matthew Morgan answered this question (discussion is now archived). I wanted to inquire further to his comment:
        Matthew Morgan Los Angeles, CA
         Re: Password protect "Mail" 
         Oct 10, 2007 7:55 AM (in response to Chester Harlan)
         Cherster,
         You could go to Settings>General>Passcode Lock and set a password to secure all your      personal data. 
    Matthew - in which program are our suggesting going to Settings?
    Thaks.

  • Hyper links are gone when i sync with ipad

    hyper links are gone when i sync with ipad2????

    Currently, the iOS version of Keynote does not support hyperlinks.

  • Apparent page AREA limitation when printing to PDF?

    In the process of producing posters for technical presentations, I have many times "printed to PDF" - typically from CorelDraw - with  page sizes as large as 42" x 72". Until a couple of months ago, I was doing so with Acrobat 9 Pro under Windows XP.
    Now I'm on a newer machine with Acrobat X Pro under Windows 7 64-bit. I tried to create such a PDF today at 42" x 72", using the same procedure as always, but without success - didn't ever see the usual dialog for selecting the PDF file name and destination. I tried it with a smaller page size - 36" x 72" - and it worked exactly as expected.
    I embarked upon a little exploration to see, for a given page width, the maximum page length I could use before it wouldn't create a PDF. Here's what I observed:
    15" x 198.8" works, but 15" x 198.9" does not
    20" x 149.1" works, but 20" x 149.2" does not
    36" x 82.85" works, but 36" x 82.86" does not
    42" x 71.01" works, but 42" x 71.02" does not
    Note that, for all of these cases, things cease to work when the area becomes just slightly greater than 2,982 square inches.
    I tried some of the same page sizes for printing to PDF from a different application (Autodesk Inventor), and found the same results. It works when the page area is at or below 2,982 square inches, but fails when the area is slightly greater than that. When it fails when printing from Inventor, in addition to not seeing the usual dialog for selecting the PDF file name and destination, I'm also presented with the error message, "Could not start print job".
    Does anyone have knowledge of this issue? I have searched and - so far - failed.

    Bump.
    I can add now that this system has been upgraded to Acrobat XI Pro.
    The problem still persists, with exactly the same behavior observed as before. I can generate a 42" x 71" page, but not a 42" x 72" page.
    When trying to create a 42" x 71" page, it works correctly from CorelDraw, Autodesk Inventor, and MicroSoft PowerPoint.
    When trying to create a 42" x 72" page:
    CorelDraw - nothing happens.
    Autodesk Inventor - receive error message - "Could not start print job".
    MicroSoft PowerPoint - receive error message - "Windows cannot print due to a problem with the current printer setup." (and more - see attached image).

  • In Safari I can define what pages are loaded when I open a "New Window". How do I achieve the same in Firefox (and supress the current begavior of it opening all of the tabs that I defined as my home page all the time)?

    I am returning to Firefox after having used Safari on Mac for the past year. One thing I liked about Safari was that I could define what page gets loaded when I used the File Menu command to open a new Browser Window. I defined this as opening up with my Bookmarks Menu where I then was able to select the page I wanted to go to.
    I have not been able to find a way to define this in Firefox and was surprised to see that "New Window" in Firefox opens all of tabs that I've defined as my Home Page.
    Is there a way to manage this?

    This issue can be caused by an extension that isn't working properly.
    Start Firefox in <u>[[Safe Mode|Safe Mode]]</u> to check if one of the extensions (Firefox/Tools > Add-ons > Extensions) or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox/Tools > Add-ons > Appearance).
    *Do not click the Reset button on the Safe mode start window or otherwise make changes.
    *https://support.mozilla.org/kb/Safe+Mode
    *https://support.mozilla.org/kb/Troubleshooting+extensions+and+themes

  • My images in my welcome page are different when viewed on the internet!

    My images in my welcome template are different when viewed on the internet! After a while they don't change anymore. Isn't this so basic....?

    Please provide your url so someone can see what you are talking about.

  • Only 274 mails are coming when using pop3 with java mail

    Only 274 mails are coming from GMAIL when using pop3 with java mail. but there are more than 3000 mails.
    I'm not getting the reason, code is given below:
    public static void main(String[] args) {
            // SUBSTITUTE YOUR ISP's POP3 SERVER HERE!!!
    //        String host = "pop.bizmail.yahoo.com";
    //        final String user = "[email protected]";
    //        final String password = "xxx";
            String host = "pop.gmail.com";
            final String user = "gauravjlj";
            final String password = "xxx";
            String subjectSubstringToSearch = "Test E-Mail through Java";
            try {
                 Properties prop = new Properties();
                prop.setProperty("mail.pop3.socketFactory.class",
                                            "javax.net.ssl.SSLSocketFactory");
                prop.setProperty("mail.pop3.socketFactory.fallback", "false");
                prop.setProperty("mail.pop3.port", "995");
                prop.setProperty("mail.pop3.socketFactory.port", "995");
                prop.put("mail.pop3.host", host);
                prop.put("mail.store.protocol", "pop3");
                Session session = Session.getDefaultInstance(prop);
                Store store = session.getStore();
                System.out.println("your ID is : "+ user);
                System.out.println("Connecting...");
                store.connect(host, user, password);
                System.out.println("Connected...");
                // Get "INBOX"
                Folder fldr = store.getFolder("INBOX");
                fldr.open(Folder.READ_ONLY);
                int count = fldr.getMessageCount();
                System.out.println(count  + " total messages");
                // Message numebers start at 1
                for(int i = 1; i <= count; i++) {
                                            // Get  a message by its sequence number
                    Message m = fldr.getMessage(i);
                    // Get some headers
                    Date date = m.getSentDate();
                    Address [] from = m.getFrom();
                    String subj = m.getSubject();
                    String mimeType = m.getContentType();
                    System.out.println(date + "\t" + from[0] + "\t" +
                                        subj + "\t" + mimeType);
                // Search for e-mails by some subject substring
                String pattern = subjectSubstringToSearch;
                SubjectTerm st = new SubjectTerm(pattern);
                // Get some message references
                Message [] found = fldr.search(st);
                System.out.println(found.length +
                                    " messages matched Subject pattern \"" +
                                    pattern + "\"");
                for (int i = 0; i < found.length; i++) {
                    Message m = found;
    // Get some headers
    Date date = m.getSentDate();
    Address [] from = m.getFrom();
    String subj = m.getSubject();
    String mimeType = m.getContentType();
    System.out.println(date + "\t" + from[0] + "\t" +
    subj + "\t" + mimeType);
    Object o = m.getContent();
    if (o instanceof String) {
    System.out.println("**This is a String Message**");
    System.out.println((String)o);
    else if (o instanceof Multipart) {
    System.out.print("**This is a Multipart Message. ");
    Multipart mp = (Multipart)o;
    int count3 = mp.getCount();
    System.out.println("It has " + count3 +
    " BodyParts in it**");
    for (int j = 0; j < count3; j++) {
    // Part are numbered starting at 0
    BodyPart b = mp.getBodyPart(j);
    String mimeType2 = b.getContentType();
    System.out.println( "BodyPart " + (j + 1) +
    " is of MimeType " + mimeType);
    Object o2 = b.getContent();
    if (o2 instanceof String) {
    System.out.println("**This is a String BodyPart**");
    System.out.println((String)o2);
    else if (o2 instanceof Multipart) {
    System.out.print(
    "**This BodyPart is a nested Multipart. ");
    Multipart mp2 = (Multipart)o2;
    int count2 = mp2.getCount();
    System.out.println("It has " + count2 +
    "further BodyParts in it**");
    else if (o2 instanceof InputStream) {
    System.out.println(
    "**This is an InputStream BodyPart**");
    } //End of for
    else if (o instanceof InputStream) {
    System.out.println("**This is an InputStream message**");
    InputStream is = (InputStream)o;
    // Assumes character content (not binary images)
    int c;
    while ((c = is.read()) != -1) {
    System.out.write(c);
    // Uncomment to set "delete" flag on the message
    //m.setFlag(Flags.Flag.DELETED,true);
    } //End of for
    // "true" actually deletes flagged messages from folder
    fldr.close(true);
    store.close();
    catch (MessagingException mex) {
    // Prints all nested (chained) exceptions as well
    mex.printStackTrace();
    catch (IOException ioex) {
    ioex.printStackTrace();
    Please tell me.
    Thanks                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Is it possible that GMail only allows access to untagged emails via POP3? Or only to emails from the last x days?
    POP3 is the older email retrieval protocol (IMAP4 is the more current one) and only has very limited support for folders (or anything but a single inbox, really). It's quite common that POP3 only allows access to a subset of all emails stored by a provider.

  • Page 2 and beyond pages are rotated when printed

    When printing multiple page landscape documents from InDesign CS5 to our Canon Imagerunner C4080, everything after page 1 is rotated 90 degrees. So far all I can do is print one page at a time. This happens on all docs, newly created as well as converted from CS4 and CS3.
    Drivers freshly installed with the OS. All other applications work fine. PDFs are fine.
    OS X 10.6.4 on brand new iMac. 
    Any ideas?

    There are a few Bugs in Firefox that causes that to happen. I have been waiting 8 1/2 years for those Bugs to be fixed.
    Probably caused by one of these three Bugs: <br />
    [https://bugzilla.mozilla.org/show_bug.cgi?id=113217] <br />
    [https://bugzilla.mozilla.org/show_bug.cgi?id=154892] <br />
    [https://bugzilla.mozilla.org/show_bug.cgi?id=192129]

  • Images imported into Pages are blurry when sent as PDF

    Just got Pages and am trying to produce my first newsletter. Using a template, I dragged some images over an existing image in the template. I also added some images on my own and used the masking tool to crop them. Pics varied in size from 1200x1600 to 3264x2448. They looked good in Pages, but when I used the Send via Mail as PDF function, all of the images appeared blurry in the PDF.
    Can someone tell me what I did wrong and how I can get clear pics in my newsletter?
    Thanks.

    Pages '09 v4.2. and 10.8.2.
    I just selected the Fashion newsletter, then dropped a 1920x1200x72dpi sRGB image onto the woman's image. It automatically resized to fit the frame. Saved the Pages document. Then, used the Send via Mail as PDF option.
    In Mail, I selected the PDF, and then tapped the spacebar to bring the PDF page up in QuickLook. I then dragged this adjacent to the open Pages document and could not detect (at 72 dpi) any visual differences in color or resolution.
    From QuickLook, you can view the PDF in the default PDF application. Does it still resolve differently in Preview or Acrobat Reader?
    I think it was mentioned here in the Pages community earlier that Pages and Preview use different OS X imaging libraries than Mail. Anyone care to comment?

  • HT1338 pdf attachments and excel spreadsheet attachments are opening as winmail.dat and the pages are blank when you open them.

    All of a sudden the e-mail attachments I send to my MacBook Pro from my PC Laptop open up as winmail.dat as a blank sheet of paper.   This only started happening within the last week. Before that everything was fine.  I check my PC and confirmed the attachments are set up to be sent in HTML.   Any suggestions?

    I am having the same issue.
    Luckily I have only migrated my own mailbox to office365.
    Tried both true and false TNEFEnabled on both onpremise and office365 via powershell and confirmed that both have been applied.
    If I send the email as a plain text then the attachment works ok. If I send it as HTML then I get winmail.dat.
    The above KB doesnt really help me, sending plain text emails is like going back to the dark ages!
    I am sending from outlook to outlook (I send from my external email address, to my work email address and visa-versa)
    If someone with an onpremise mailbox sends me an email, the attachment works ok.
    If someone sends me an attachment via hotmail, the attachment works ok.
    It seems to only effect emails I send to myself through outlook, i am sending it through a POP3 account to our onpremise exchange 2010 which forwards the email to office365

  • Why does the Error: 500 SC_INTERNAL_SERVER_ERROR appear when multiple users access my JSPs but does not occur when only one user accesses my JSPs?

    When multiple users run my JSP application, why do some users get an Error: 500 SC_INTERNAL_SERVER_ERROR for certain JSP pages with the error message No such file or directory. The JSP listed on the Error 500 page varies and is not always the same. When only one user runs my JSP application, the problem does not occur?
    The database connection is held when the user logs in or accesses certain parts of the JSP and then is immediately released. No connections to the database are held.
    We are using Solaris 8 with MU_6 plus recommended patches.
    Enterprise Ultra 250
    iAS 6 SP 3

    Is anything showing up in the KXS or KJS logs?
    It sounds like you might having some kind of thread safety issue with your code. Either that or your guess about running out of database connections.

  • Constraints are missing when using unload with SQL Developer 3.0.03 .

    The following message appears in the output file and no constraints are included.
    Unable to render CONSTRAINT DDL for object *** with DBMS_METADATA attempting internal generator.

    First of all - there is no SQL Tab available (unlike earlier versions of SQL Developer)
    Here are the results of the requested selects:
    1 - select * from all_objects where object_name = 'LOC_CONTACTS' and owner ='PRO';
    PRO LOC_CONTACTS 31282 31282 TABLE 03-MAR-11 03-MAR-11 2011-03-03:17:31:39 VALID N Y N
    2 - select * from all_constraints where table_name = 'LOC_CONTACTS' and owner = 'PRO';
    (Same result as select * from all_constraints where table_name = 'LOC_CONTACTS' )
    PRO     SYS_C003305     C     LOC_CONTACTS     "LOC_NUM" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003306     C     LOC_CONTACTS     "LITEM_NUM" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003307     C     LOC_CONTACTS     "TITLE" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003308     C     LOC_CONTACTS     "FIRST_NAME" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003309     C     LOC_CONTACTS     "SURNAME" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003310     C     LOC_CONTACTS     "POSITION" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003311     C     LOC_CONTACTS     "USER_NAME" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003312     C     LOC_CONTACTS     "LANGUAGE" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003313     C     LOC_CONTACTS     "ACTIVE" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11                    
    PRO     SYS_C003314     C     LOC_CONTACTS     "POST_TO_SUN" IS NOT NULL                    ENABLED     NOT DEFERRABLE     IMMEDIATE     VALIDATED     GENERATED NAME               03-MAR-11
    Edited by: user470293 on 22-Mar-2011 02:04
    Edited by: user470293 on 22-Mar-2011 02:04

  • My Audio And Software Tracks are quiter when Record Enabled with Plugins on

    When my tracks are armed to record the volume seems much quieter...Then after I record the take and playback its full volume;;; I think its a preference I accidently set??...Example..
    If I have a piano software plug on, its quiter during recording then playback..But even during playback, if that track is highlighted on Arrange its quite,,,I have to un highlight the track...Even when recording audio if Im perhaps using channel strip settings??...Ideas>>>????? Anyone??/

    Bee Jay wrote:
    I do tend to assume a certain level of experience some times...
    I think everybody tends to do that - including the questioners. So don't be too hard on yourself...

  • What additional software requirements are needed when using Captivate with RoboHelp?

    Hello,
    I use RoboHelp HTML 6 & 8 for developing online manuals for our government business.  We are currently exploring eLearning options for our training needs, and I am considering the idea of implementing Captivate features (PP slides, simulations, animations) directly into the manuals. We would not need the collaborative/review aspects of Captivate, so I believe we wouldn't need to purchase Adobe Air additionally. However, would anyone be willing to give me the lowdown on what additional software either I would need as a developer, or end-users would need (Adobe Flash, I assume) if we decided on Captivate? Would we need addtional software (Connect Pro/ LMS) to publish the Captivate content?
    I have conducted an extensive online search and explored the forum threads with some success, but there is a lot of convoluted information out there!
    Thanks in advance for your help!!

    Hi there
    Speaking as one who regularly combines Captivate and RoboHelp...
    Unless you really want some functionality that Captivate alone simply does not provide, you really shouldn't need any additional software whatsoever. You record the eLearning bits in Captivate, then you use that content in your RoboHelp projects.
    Are you seeking to host things in a Learning Management System (LMS)? If so, you probably should abandon the thought of RoboHelp, as it serves a bit of the functionality the LMS would provide.
    Note that AIR is a functionality similar to the Flash Player or the PDF Reader. It is free for the taking by the end user. There is nothing one would need to purchase. Now if you want to *AUTHOR* something in AIR, that's a different story. RoboHelp HTML version 8 will produce an AIRHelp output. But it sounds to me that you may be somewhat unfamiliar with what AIR gives you. So here's the skinny.
    If you were to produce AIRHelp output from RoboHelp, you end up with a .AIR file that each of your end users must *INSTALL* just as they would have to install an application. That's just to view the help. Prior to installing your AIR output, they would also need to first *INSTALL* the AIR viewer. So if they had no AIR capability whatsoever, they would need to perform two different installs. One of the AIR runtime, and a second of your AIR output. Additionally, creating the AIR output will also require a digital certificate. Now RoboHelp will allow you to create one, but it's an untrusted certificate and the end user will be forced to acknowledge whether they wish to continue installing with an untrusted certificate.
    Anyhoo, hopefully that helps you with at least some of what you were looking for.
    Cheers... Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

Maybe you are looking for

  • But I'm Not using my BT home hub for wifi

    I received an email after registering (and loging on to BTWIFI to test) which said... "Please keep your BT Home Hub switched on for the next few days so we can add you to the network." The thing is I do not use my BT Home Hub 3 for Wifi anymore. Afte

  • Product registration and warranty??

    I recently bought an iMac from Craigslist. The seller assured me that the unit was legit and had about 8 months left on the warranty. He did not have the original bill of sale, since he himself bought it from someone else. When I asked if the unit 'f

  • Finder freezes with Lion 10.7.4

    I've had my macbook pro with Lion 10.7.4 for only about 4 or 5 months now and since I installed a 2 TB Seagate external HD Finder has been crashing periodically. I've been keeping an eye on the Activity Monitor when this happens and it doesn't look l

  • Issues regarding the testing of the web dynpro abap service

    Hi all, I am working on web dynpro (ABAP). After activating the whole object. When I test the web dynpro service. The browser gives me the following error. The server <server_name> is taking too long to respond. I am new to Web Dynpro ABAP, can anyon

  • REALLY need help with new lines

    Ok, I have been thinking for hours and cannot find the solution to my problem. My issue is that when I write text to a file: ...Initiate bufferedwriter bw.write("CODE"); bw.write(System.getProperty("line.separator")); bw.write("CODE2");...it comes ou