How can I authenticate using JWS

I have an JWS application on a secure server. The user can log into the server, then click a button to start the app. The problem is when JWS goes to start it, the server doesn't know it is part of the same session and is giving a java.io.IOException: Server returned HTTP response code: 403, which is forbidden. It is as if I never logged into the server and was trying to launch from a shortcut.
Can anyone help? Do I need to convert my application to an applet? I don't want to do that.
Thanks,
Steve

Someone should please help resolve these error codes:
Check your internet connection: java.io.IOException: Server returned HTTP response code: 503 for URL:
Check your internet connection: java.io.IOException: Server returned HTTP response code: 407 for URL:
Please your early response and solution will be greatly appreciated. Thank you.

Similar Messages

  • How can I authenticate with card which status is 'OP_READY' ?

    Hello~
    I'm doing personalization of smart card.
    I'm able to personalize the card which status is 'INITIALIZED'.
    However...
    According to spec , server follow below process to authenticate with card which status is 'OP_READY'. In that process, select CM is ignored.
    Reset Card->Generate Server_Challenge->Intialize session
    During that process, I wonder about a few things.
    1) When I receive a card from suppliers , what is the status of card?
    Is it 'OP_READY' or "INITIALIZED' ?
    If it is 'OP_READY' , I have to establish a secure session using ISK
    to change the status to 'INITIALIZED'.
    How can I authenticate with card using ISK?
    Any comments would be greatly appreciated

    Hello there,
    If you can Authenticate (by that I mean send an Initialise Update command and External Authenticate command) successfully the ISD keys are already on the card. If you cannot Authenticate then you will need to load these onto the card and this is done with the Put Key command. You need to load 3 keys - these are 16 byte keys usually all with the same value e.g. 41 42 ...........4F. Once these keys are on the card you need to set the SCP option (which should be 0105) and then you will be able to Authenticate. You will then be able to send a Set Status command to change the life cycle state of the card (either with the apdu or from an applet using the setCardContentState() method).
    I'm guessing that your JCOP card probably has the ISD keys on already and has the SCP option set so there is no need for any additional keys to be loaded at this stage.
    Hope this helps,
    Stephanie

  • How can I authenticate and authorize with Web Service on ESB ?

    Hello,
    I want to authenticate and authorize client with Web Service published
    by HTTP/SOAP BC.
    Simply if it is an Web Service as J2EE application, I will use
    Basic Authentication with JAX-RPC and Realm.
    But I think that Web Service published by HTTP/SOAP BC is not belong
    to J2EE Application. Threre is no place to describe security role mapping
    (like web.xml).
    JBI 1.0 the section "5.5.1.1.3 Normalized Message Properties" comments
    JAAS Subject is given in the NM Properties. Really in this package
    com.sun.jbi.internal.security.*
    implements JAAS autentication and authorization (at JaasAuthenticator).
    But I can't see how to configure my Service to use this.
    How can I authenticate and authorize with Web Service on ESB ?
    I referred to the resources.
    Mutual Authentication for Web Services: A Live Example
    http://developers.sun.com/prodtech/appserver/reference/techart/mutual_auth.html
    XML and Web Services Security
    http://java.sun.com/j2ee/1.4/docs/tutorial/doc/Security7.html
    JAAS Authentication Tutorial
    http://java.sun.com/j2se/1.4.2/docs/guide/security/jaas/tutorials/GeneralAcnOnly.html
    Thanks,
    Takurou
    - environment ---------------------------------------------
    OpenESB : Project Open ESB Starter Kit
    AppServer : Sun Java Systems Application Server 9.0 PE
    OS : Windows XP
    I don't assume to use SSL (if It's necessary I will try).
    User information is stored in a LDAP Server.
    -----------------------------------------------------------

    Hello,
    I read this resource.
    SecurityDesign
    http://www.glassfishwiki.org/jbiwiki/Wiki.jsp?page=SecurityDesign
    Then I think [non-ssl and ssl/tls and so on] securing by basic authentication is ongoing feature at this time.
    But I can't see well why this page comments 'HTTP over SSL, TLS'.
    HTTP/SOAP Binding Component Overview
    http://download.java.net/general/open-esb/docs/jbi-components/httpsoap-bc.html
    Does BC support only "SSL server authentication" ?
    Doesn't BC support "SSL client authentication" by username/password ?
    Thanks,
    Takurou

  • How can 2 people use itunes in the same household? we both have iphone 4 and separate id but the same itunes? pleasehelp

           how can two people use itunes in the same household? i had a iphone before so alreday had an itunes account now me and my husband have upgraded and we now both have them. he has set up a username and i have mine yet when he logs in he seems to just get my account? please help

    Decide which iPhone will be keeping the current iCloud account.  On the one that will be changing accounts, if you have any photos in photo stream that are not in your camera roll or backed up somewhere else save these to your camera roll by opening the photo stream album in the thumbnail view, tapping Edit, then tap all the photos you want to save, tap Share and tap Save to Camera Roll.  If you are syncing Notes with iCloud, you'll also have to email your notes to yourself so they can be recreated in the new account as they cannot be migrated.
    Once this is done, go to Settings>iCloud, scroll to the bottom and tap Delete Account.  (This will only delete the account from this phone, not from iCloud.  The phone that will be keeping the account will not be effected by this.)  When prompted about what to do with the iCloud data, be sure to select Keep On My iPhone.  Next, set up a new iCloud account using a different Apple ID (if you don't have one, tap Get a Free Apple ID at the bottom).  Then turn iCloud data syncing for contacts, etc. back to On, and when prompted about merging with iCloud, choose Merge.  This will upload the data to the new account.
    Finally, to un-merge the data you will then have to go to icloud.com on your computer and sign into each iCloud account separately and manually delete the data you don't want (such as deleting your wife's data from your account, and vice versa).

  • How can I stop using my primary Apple ID (Gmail) but leave my secondary Apple ID (icloud) as primary ond only ONE?

    Good afternoon friends.
    Please help me and tell how can I stop using my primary Apple ID (Gmail) but leave my secondary Apple ID (icloud) as primary ond only ONE?
    I started using Apple ID in 2011 when iCloud was not exist and was forced to use non-apple e-mail adress as primary ID.
    So I used GMail mailbox.
    When iCloud was started I created my account but unfortunatelly can't remove this Gmail address from my Apple ID and replace it with icloud mail address.
    I was VERY dissapointed because I don't want to use "outside" mailbox to get letters from Apple and ny ID.
    In fact I see the Apple old users and fans discrimination.
    When creating new user accounts are free to create a box on the iCloud mail and use it as a primary ID, and the only ONE.
    At the same time the old user is obliged to keep third-party mail box like Gmail etc. as the primary and can not get such an opportunity, as a new user
    This is extremely inconvenient and a VERY strange logical.
    For example, now I want to stop using this mailbox on Gmail but I can not do that because in this case I lose access to my ID, or run the risk that someone in the future will create a box with the same name on Gmail (when name will be free and available) and will automatically get access to my accounts on Apple and to my Apple ID.
    Now, to avoid this, your team, I offer the only way out: ID, create anew.
    Of course it's possible, but then:
    - I lose all my purchases for 3 years and will be forced to make them again and pay money for the second time for my purchases
    - Lose access to the familiar iCloud e-mail address who now serves as secondary ID because this e-mail address is almost no longer available and will never be released in future.
    And now answer me for ONLY TWO questions:
    - WHERE IS LOGIC?
    - WHAT ABOUT TO BE FRIENDLY FOR YOUR USERS AND FANS?
    Thank you!
    Hopefully for your GOOD answers.

    You cannot make your @icloud.com address the login address for the ID. However you can change your ID, currently a Gmail one, to any other functioning non-Apple email address. The Gmail address would then no longer access your account, and so even if someone were to obtain posession of it (is that even possible) it wouldn't allow them to get into your account.
    If you want to change your ID to another email address please follow the procedure outlined below, particularly noting the first step.
    Firstly, if you have 'Find My iPhone/iPad/iMac' enabled on any of your devices, turn it off.
    Create a new email address, for example  at Yahoo or Gmail, or anywhere convenient (or you can use an existing address as long as it has never been associated with an Apple ID).
    Go to http://appleid.apple.com and click 'Manage your Apple ID'. Sign in with the current ID.
    Where it says 'Apple ID and primary email address' and gives your current ID email address, click 'edit'.
    Enter your new address and click 'Save changes'.
    Now you will need to go to each of your devices and sign out in System Preferences (or Settings)>iCloud - 'Sign out' on a Mac, 'Delete this account' on an iOS device (this will not delete the account from the server).
    Then sign back in with your new ID. Your iCloud data will disappear from your devices when you sign out, but reappear when you sign back in.
    I re-iterate: before you start, turn off 'Find My Mac' (or whatever) or you will need the services of Support.

  • My husband and I share a new PC.  We have different music tastes and each have an iphone.  How can we both use our one computer and one itunes program with separate music libraries and separate iphones?

    My husband and I share a new PC.  We have different music tastes and each have an iphone.  How can we both use our one computer and one itunes program with separate music libraries and separate iphones?

    Each device only syncs waht you select.
    Select only what you want for each phone.

  • I have ad Apple ID on my iPad , when I use the apple on my iPhone for the first time, I put in my Apple ID for the iPad, didn't work. Need to create a new one. Why? How can I just use my iPad ID on my iPhone?

    I have ad Apple ID on my iPad , when I use the apple on my iPhone for the first time, I put in my Apple ID for the iPad, didn't work. Need to create a new one. Why? How can I just use my iPad ID on my iPhone?

    Hi kamfong,
    Went to Settings where?
    If you want to use your exisiting Apple ID on your iPad, you need to:
    1.     Go to Settings>iTunes & App Store and sign out the new ID, and then sign on the old one
    2.     Go to Settings>iCloud, scroll to the bottom and delete the iCloud account, and the sign back onto iCloud using the old ID
    You still have not indindated why you are saying that using your old ID originally "didn't work". What do you mean by that? Did you get some sort of error when you tried to sign on with your exisiting Apple ID?
    Cheers,
    GB

  • I have a $10 gift card balance on my Apple ID but when I try to rent a movie it wants me to use my debit card. How can Make it use the iTunes credit?

    I have a $10 gift card balance on my Apple ID but when I try to rent a movie it wants me to use my debit card. How can Make it use the iTunes credit?

    Hi ...
    Select None for payment method > iTunes Store: Changing account information
    Be aware, an auto renewing subsciption by require a credit card.

  • After a clean install, how can I continue using Time Machine?

    After a clean install, how can I continue using Time Machine?
    I booted from my recovery partition, erased my HD, installed the same OS, (Lion, 10.7.5) then restored from my TM.
    If it asks if i want to use TM, I say yes. When I chose the drive, it seems to want to start all over, instead of just picking up where I left off.
    Is there any way of picking up where I left off?

    Hi Frank,
    You are sure you looking in your Library in /Users/YOUR_USERNAME/Library and not /Library at the top level of your harddrive?
    When you open iCal what do you see?  Are the calendars the two default Home and Work ones?
    I really appreciate the responses -- especially if you are in the UK as opposed to Ontario.
    Why, do you have something against London Ontario?
    John M

  • I have used Airport Time Capsule with my iMac for several years. I recently purchased a MacBook Air and when it tried to backup to Time Capsule it couldn't because Time Capsule is full. How can I now use the 3TB Airport Time Capsule to back up both?

    I have used Airport Time Capsule with my iMac for a couple years. I recently purchased a MacBook Air and when it tried to backup to Time Capsule it couldn't because Time Capsule is full. How can I now use the 3TB Airport Time Capsule to back up both the iMac and MacBook Air? I don't mind losing earlier backups. I have excluded some items from backing up, but since the Airport Time Capsule is full, I can't even begin to back up the MacBook Air.

    On your Mac.......
    Open Finder > Applications > Utilities > AirPort Utility
    Click on the Time Capsule icon, then click Edit in the smaller window that appears
    Click on the Disks tab at the top of the window
    Click Erase Disk
    On the next window that appears, select the Quick Erase option, then click Erase
    The operation will only take a few minutes.
    Now you are ready to start new backups of both Macs.  Back up one Mac first, then back up the other.  Do not try to back up both Macs as the same time.

  • How can send mails using hotmail/rediffmail domain name?

    I have used the below code to send a mail using javamail API?Even when I am sending my application does not have notified any of error/exceptions,But the message is not reached to I have given receipient's address in the to field.
    import javax.mail.*;
    import javax.mail.internet.*;
    import javax.activation.*;
    import javax.servlet.*;
    import javax.servlet.http.*;
    import java.io.*;
    import java.util.*;
    public class Sendmail1 extends HttpServlet {
    private String smtpHost;
    // Initialize the servlet with the hostname of the SMTP server
    // we'll be using the send the messages
    public void init(ServletConfig config)
    throws ServletException {
    super.init(config);
    smtpHost = config.getInitParameter("smtpHost");
    //smtpHost = "sbm5501";
    smtpHost = "www.rediffmail.com";
    public void doGet(HttpServletRequest request,HttpServletResponse response)
    throws ServletException, java.io.IOException {
    String from = request.getParameter("from");
    String to "[email protected]";
    String cc = "[email protected]";
    String bcc ="[email protected]";
    String smtp ="www.rediffmail.com";
    String subject = "hai";
    String text = "Hai how r u";
    PrintWriter writer = response.getWriter();
    if (subject == null)
    subject = "Null";
    if (text == null)
    text = "No message";
    String status;
    try {
    // Create the JavaMail session
    java.util.Properties properties = System.getProperties();
    if (smtp == null)
    smtp = "www.rediffmail.com";
    properties.put("mail.smtp.host", smtp);
    Session session = Session.getInstance(properties, null);
    //to connect
    //Transport transport =session.getTransport("smtp");
    //transport.connect(smtpHost,user,password);
    // Construct the message
    MimeMessage message = new MimeMessage(session);
    // Set the from address
    Address fromAddress = new InternetAddress(from);
    message.setFrom(fromAddress);
    // Parse and set the recipient addresses
    Address[] toAddresses = InternetAddress.parse(to);
    message.setRecipients(Message.RecipientType.TO,toAddresses);
    Address[] ccAddresses = InternetAddress.parse(cc);
    message.setRecipients(Message.RecipientType.CC,ccAddresses);
    Address[] bccAddresses = InternetAddress.parse(to);
    message.setRecipients(Message.RecipientType.BCC,bccAddresses);
    // Set the subject and text
    message.setSubject(subject);
    message.setText(text);
    Transport.send(message);
    //status = "<h1>Congratulations,</h1><h2>Your message was sent.</h2>";
    } catch (AddressException e)
    status = "There was an error parsing the addresses. " + e;
    } catch (SendFailedException e)
    status = "<h1>Sorry,</h1><h2>There was an error sending the message.</h2>" + e;
    } catch (MessagingException e)
    status = "There was an unexpected error. " + e;
    // Output a status message
    response.setContentType("text/html");
    writer.println("<title>sendForm</title><body bgcolor= ><b><h3><font color=green><CENTER>CALIBERINFO.COM</CENTER></h3>Your message was sent to recepient(s).<br><font color=red>"+"\n"+to);
    writer.println("<br><br><a href=e:/mail/javamail/mail.html>back to compose</a>");
    writer.close();
    Please any one help me out from this probs.
    Awaiting for yours reply,
    or give me a reply to: [email protected]
    Regards,
    @maheshkumar.k

    Hi,
    how can send mails using hotmail/rediffmail domain name?In your java application,you specified www.rediffmail.com as your
    smtp server.But that is the address of that website.Try will a smtp
    server instead.For a list of free smtp servers,please visit http://www.thebestfree.net/free/freesmtp.htm
    Hope this helps.
    Good Luck.
    Gayam.Srinivasa Reddy
    Developer Technical Support
    Sun Microsystems
    http://www.sun.com/developers/support/

  • How can I make Use of PS and Ai (offer) in spite of running Windows Vista ?

    How can I make Use of PS and Ai (offer) in spite of running Windows Vista ?

    Once you have signed up, you could - in theory - choose "other version" under the icon on the CC website and install CS6, but I'm not sure if that works for this special offer or only for "full" CC. Anyway, it seems simple enough to upgrade to Win 7 or Win 8 and perhaps you were planning on starting fresh, anyway...
    Mylenium

  • How can I continue using my CS3? I needed to install a new hard drive, & CS3 wont accept my serial # on the re-install :-/

    How can I continue using my CS3? I needed to install a new hard drive, & CS3 wont accept my serial # on the re-install :-/

    Unfortunately, only Adobe customer service can assist you with your issue. These are user forums; you are not addressing Adobe here.
    Click on the link below, and after that click on "Still need Help? Contact us."
    Then on the next page, click Chat
    There is also a phone option.
    http://helpx.adobe.com/contact.html?step=PHXS_downloading-installing-setting-up_licensing- activation

  • How can I get (using API) the current sort column for some report

    hello,
    How can I get (using API) the current sort column for some report ? For example something like "fsp_sort_1_desc" - if the user sorts by the first column ?
    I cannot use the :REQUEST for this, sometimes the current sort column is not in the :REQUEST, but it is still active.
    I thought it was posssible by using
    APEX_UTIL.GET_PREFERENCE (
    p_preference IN VARCHAR2 DEFAULT NULL,
    p_user IN VARCHAR2 DEFAULT V('USER'))
    RETURN VARCHAR2;
    function, but I don't really know which preference should I pass as parameter.
    looking in WWV_FLOW_PREFERENCES$, i saw preferences_names like FSP4000_P527_R6281510839654570_SORT , I'm not sure how this name is formed.
    I'm using generic columns for that complex report (which has a flexible number of columns shown), and the idea is that sometimes I have to overwrite that sort column, in case the user chose the version of the report with fewer columns than the previous one.
    Can I get (using API) a list of all preferences set for some user ?
    Thank you,

    seems that it is FSP<app_number>P<pagenumber>R<regionnumber>_SORT.
    is there anyplace where I can get these kind of things documented ?
    Thank you.

  • Data Pump - How Can I to use in Oracle 8i

    Hi
    How can I to use Data Pump in Oracle 8 i ?
    is there other way for to export an import data ?
    I have to Export data from Database Oracle to Other Database Oracel only a table , some data

    or use spool method
    set head off
    set pagesize 0
    set echo off
    set feedback off
    spool yourdump.file
    select columnA||','||columnB||','||columnC from mytable;
    spool off
    -- assuming your delimiter is comma.

Maybe you are looking for

  • In Desperate need for help with Security Settings

    I am currrently working on a project that requires a Flash submenu running through an HTML Browser window and running from a CD. The problem is that the final destination for these CDs will be on computers without the capability to connect to the int

  • IF STATEMMENT is not working completely

    I can not get my if statement to complete the false condition and it should display "Login Successful" if it matches an item in the array and should clear the fields and display "Invalid. Try Again" if not successful. Can someone help me with this? i

  • Dictionary help inpout/output

    Hi all, I have attached a search help in a context attribute but I need to pass some extra values in the search help before it is called. (the system's language). How can I set up the input and output of a dictionary based search help on abap web dyn

  • Debit/credit -revenue account determin

    HI, when we save billing document -ACCOUNTING DOCUMENT gets generated. IN VK0A we specifc g/l Account say cust mat aag ERL =xxxxx 1. i want to know how system determines whether it must be credit or debited (say PROO (ERL- Manufacturing sales) If we

  • My iPod has been stolen. How do i find the serial number if i cannot find the box?

    My iPod was stolen and the police want my serial number in order to try and trace it. I can't find the original box and obviously i can't sync my iPod to my computer in order to get the serial number. Is there another way to get the serial number?