Displaying java applet using webseal authentication

Hi all,
i'm facing a problem about displaying Java applet using Webseal junction for accessing  an application Server based on Websphere.
I've defined a webseal ACL on accessing a http url that contains link to Java applet: after webseal authentication, the homepage is loaded; in the home page are presented links to java applet, but when I try to load these applets, it seems not working.
If I load the same applets without Webseal authentication, it seems working.
Is there any sort of configuration to make for applet regarding Webseal?
Thanks in advance
Danilo

Hi all,
i'm facing a problem about displaying Java applet using Webseal junction for accessing  an application Server based on Websphere.
I've defined a webseal ACL on accessing a http url that contains link to Java applet: after webseal authentication, the homepage is loaded; in the home page are presented links to java applet, but when I try to load these applets, it seems not working.
If I load the same applets without Webseal authentication, it seems working.
Is there any sort of configuration to make for applet regarding Webseal?
Thanks in advance
Danilo

Similar Messages

  • Java applet using the Swing API

    write a Java applet using the Swing API to manage a PC repair shop. When a PC is brought in for repair, a member of staff will use this applet to log it into the system as a repair job. They will also be able to use the applet to manage the job e.g. allocate a person to carry out the repair and enter costs.
    You must not use a tool such as JBuilder to generate Java code. If you use code from elsewhere e.g. a text book, you must highlight the code and state the reference clearly and include a photocopy of the relevant pages from the text book or other source.
    You should hard-code some initial data into your applet. You should not store any data in a file or database.
    Level of functionality you should attempt to implement:
    Level 1 � Your applet should:
    a.     As a minimum, your program should store (in memory) at least 10 repair jobs. For each repair job, you need to store:
    �     The name and phone number of the customer bringing the PC in for repair;
    �     A brief textual description of the problem;
    �     Whether the PC is under warranty or not.
    b.     Your program must allocate and display a unique number for the job once it is accepted.
    c.     The user must be able to view the details of jobs. They should be able to select either:
    �     All the jobs in the system; or
    �     Jobs being carried out under warranty.
    Level 2 � Your applet must meet the requirements for level 1. In addition it should:
    a.     You should carry out appropriate validation checks on input data e.g. the phone number contains all digits.
    b.     System should cope with an unlimited number of jobs.
    c.     The user should be able to select a job and then allocate a repairer to that job.
    d.     The user should be able to display a list of jobs for each repairer.
    Level 3 - Your applet must meet the requirements for level 1 and 2. In addition it should allow the user to:
    a.     Select a job and input the cost of repair for:
    �     the number of hours labour;
    �     parts.
    b.     Select a job and present the user with a cost for the labour (hard code an hourly labour cost) and parts, plus a total for that job. For jobs under warranty the total will be zero, however the cost of labour and parts will be shown.
    c.     Be able to inform the business of the total expected income from the all the jobs in the system that are not under warranty.
    Level 4 � Your applet must meet the requirements for level 1 to 3. In addition:
    a.     The user should be able to enter a job priority which can be identified as high, medium or low.
    b.     Each repairer should be able to view a list of their jobs in order of priority.

    Done, what next ?
    Noah

  • Safari 5.1 will not display Java applet window

    I Just updated to safari 5.1 via software update.  It will not display java applet window on http://www.goldprice.org/live-gold-price.html ,i can view it using firefox. I have done a Safari reset, done a new install of 5.1, ran disc utility, unblocked popo up winows and restarted machine

    1). restart system with original start up disc, holding down "c" key.
    2). using time machine restore from non "lion" operating system. this will kill p.o.s. lion.
    3). once back in non 10.7 OS be careful not to install via software updates, sarafi 5.1
    4). sarafi 5.1 like lion *****.
    5). if you have sarafi 5.1, degrade by typing in this: support.apple.com/kb/dl1939
         a). a very large software update that degraded my sarafi 5.1 back to sarafi 5.05
    6). streetsmart.com and java worked fine for me after this fix.
    7), also you can download firefox, and though slower than sarafi 5.05 it will load java, and stock screens.
    GOOD LUCK. my first microsoft moment with apple in 8 years of chronic love for their products. time to
    sell AAPL shares.

  • How to configure the applet  use Kerberos authentication

    Hi all:
    I know few about the java or applet security and hope someone can help me.
    I have a MS IIS Web server named win2003stdbase1 and it use Kerberos authentication, and the
    web server host a jar file.The client machine has jdk1.5 installed.When the client visit a html page which contains a java applet,the jre starts the applet and a dialog "Password Needed -Networking" popups.Then we input the right user name and the password,but the dialog popup again.The dialog display these message:
    Server:     win2003stdbase1/192.168.0.43
    Scheme:     ntlm
    UserName:
    Password:
    Domain:
    I suspect that the applet use the ntlm authentcation method which different from the web server,and I want it to use Kerberos authentication.How can I achieve this?
    Any suggestion or idear will be appreciated.Thanks.

    Are there anyone can help on this? It is a urgent issue. Also if I did not explain it clearly, please let me know.Thanks.

  • Taking screenshot with java applet using java robot class not working

    Hi Everyone,
    I am using the java applet to take screenshot of the web browser using the java's robot class.
    Robot objRobot = new Robot ();
    BufferedImage objBufferedImage = objRobot.createScreenCapture(objRectArea);
    The thing work good in windows system taking screenshot but in case of mac osx i get the blank image.When i check the event viewer in mac osx i get the following error.
    invalid context
    invalid pixel format
    CoreAnimation: rendering error 506
    The problem is coming for all the browser safari,firefox and chrome.My applet is signed applet.
    What might be the reason.An early reply is very valuable.
    My machine configuration is as follows.
    OS : MAC OSX
    Version : 10.6.4
    Is that a system level issue , java plugin issue?I'am confused with this error.
    Thanks sagar.

    870613 wrote:
    invalid context
    invalid pixel formatHm, seems like the Mac implementation of the Robot class is doing some bad initializations there. I can't be a 100% sure of course, but this smells like a bug to me. Are you sure you have the latest version of Java installed?

  • Help plotting points in a java Applet using Bresens Algorithm

    Hi,
    I am trying to compile my code and it doesn't like POINT. I am guesing I am using the wrong thing.
    Point.point(Math.round(x), Math.round(y)); and I tried just Point.
    How do I plot points so that it forms a line. What internal function do I use?
    Here is my code.
    import java.applet.*;
    import java.awt.*;
    import java.lang.Math;
    import java.awt.Point;
    import java.awt.Graphics;
    public class DDASimple extends Applet
         int   dx, dy, steps, k, absolutex, absolutey;
         float xinc, yinc, x, y;
       public void init()
    public void paint(Graphics g)
    DDASMPL(50,50,100,150);
    public void DDASMPL(int x1, int y1, int x2, int y2)
      repaint();
      dx = (x2-x1);
      dy = (y2-y1);
    //absolutex =
      if( Math.abs(dx) > Math.abs(dy))
         steps = Math.abs(dx);
      else
         steps = Math.abs(dy);
         xinc = dx / steps;
         yinc = dy / steps;
         x = x1;
         y = y1;
    Point.point(x1, y1);
          for (k = 1; k < steps; k++)
              x = x+ xinc;
              y = y + yinc;
    Point.point(Math.round(x), Math.round(y));
    //g.drawOval(Math.round(x), Math.round(y));
         }//end else
    }//end function dda
    }//end class ddda applet

    I took out the repaint(). and below is the updated version
    I am not getting anything now, no line
    import java.applet.*;
    import java.awt.*;
    import java.lang.Math;
    import java.awt.Point;
    import java.awt.Graphics;
    public class DDASimple extends Applet
         int   dx, dy, steps, k, absolutex, absolutey;
         float xinc, yinc, x, y;
       public void init()
    public void paint(Graphics g)
    DDASMPL(160, 140, 220, 140, g);
    public void DDASMPL(int x1, int y1, int x2, int y2, Graphics g)
      dx = (x2-x1);
      dy = (y2-y1);
    //absolutex =
      if( Math.abs(dx) > Math.abs(dy))
         steps = Math.abs(dx);
      else
         steps = Math.abs(dy);
         xinc = dx / steps;
         yinc = dy / steps;
         x = x1;
         y = y1;
    //Point xxx = new Point(x1, y1);
    g.fillRect(x1, y1, 1, 1);
          for (k = 1; k < steps; k++)
              x = x+ xinc;
              y = y + yinc;
    //Point.point(Math.round(x), Math.round(y));
    g.fillRect(Math.round(x), Math.round(y),1 ,1);
         }//end else
    }//end function dda
    }//end class ddda applet

  • Can't display java applet in IE?

    when I open the Internet Explore to display my applet,It' not display anything,only several small word in left corner:
    Load:SaveCert can't be instantiated.
    SaveCert is my class's name. Why?

    Try running the applet using the appletviewer by typing:
    appletviewer SaveCert
    at the cmd prompt inside the directory where your class file is saved.
    If this does not help, then u have some problem in your applet.
    If it does help, then u might need to change your browser setting to view the applet in the browser.

  • Problem facing when uploadin file thru java applet using WSA

    I am facing a issue, when I am trying to upload a pdf file on a website which uses java applet and WSA as proxy. On the java applet window when I select the file a click upload, it gives " Upload failed : java.net.Unknownhostexception ".
    On checking the issue in java console getting following error "SEVERE: java.net.UnknownHostException: www.mca.gov.in
    java.net.UnknownHostException: www.mca.gov.in
    at java.net.PlainSocketImpl.connect(Unknown Source)
    at java.net.SocksSocketImpl.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.connect(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at java.net.Socket.<init>(Unknown Source)
    at org.apache.commons.httpclient.protocol.DefaultProtocolSocketFactory.createSocket(DefaultProtocolSocketFactory.java:86)
    at org.apache.commons.httpclient.HttpConnection.open(HttpConnection.java:652)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:628)
    at org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient.java:497)
    at javazoom.transfer.client.http.HTTPTransfer.headInfo(Unknown Source)
    at javazoom.transfer.client.http.HTTPUploadTransfer.dbupdate(HTTPUploadTransfer.java:973)
    at javazoom.transfer.client.http.HTTPUploadTransfer.run(HTTPUploadTransfer.java:155)
    at java.lang.Thread.run(Unknown Source)
    network: Connecting http://www.mca.gov.in:80/ with proxy=DIRECT
    29-Oct-2009 15:03:58 javazoom.transfer.client.http.HTTPTransfer headInfo
    SEVERE: java.net.UnknownHostException: www.mca.gov.in
    29-Oct-2009 15:03:58 javazoom.transfer.client.http.HTTPUploadTransfer run
    INFO: Upload failed"

    Done, what next ?
    Noah

  • How to sign a java applet using iPlanet SSL certificate?

    Dear all,
    I have a IPlanet web server with SSL installed,
    can I use the SSL certificate to sign my java applet which will run on the server? how to sign a java applet in this scenario? somebody please help me! thanks!
    yours sincerely
    dashel

    Why can't you create jar files?

  • How do i do to register an a  Java Applet using "free" certified

    Hello everyone,
    im developing a Java Applet to run an on Intranet. This applet must write files at hard disk.
    How do i do to register this applet ???
    tnks

    FAQ - Applet Security
    Java Glossary : signed Applets
    Signed Applets, Browsers, and File Access
    JDK 1.2 - Signed Applet Example

  • Display Java Applet without autodownload..?

    I bought book Java 5. There is note about java applet autodownload for diplaying applets for other computers without Java. But link for version 4 isnt working. Exist another link for applet autodownload for windows xp or is there another option to solve that?
    Thx for answer.
    hafacek

    You can go to this page http://java.com which will download and install the software necessary to run prewritten applets. This does not install the software needed to create and compile Java code. To do that, goto http://java.sun.com and select from the downlaod links at the right side of the page.

  • I'm trying to develop a PKI enabled plugin for firefox using add-on builder. how do you call a java applet using add-on javascript on add-on builder ?

    i have a signed applet which encrypts and digitally signs text information. i need to call this applet from the add-on javascript on firefox's add-on builder . how do i do it ?
    i've tried using contentScript and contentScriptFile to load the html file which calls the applet vis applet tag , it doesnt work.
    this is the error which croped up:
    Java Plug-in 1.6.0_26
    Using JRE version 1.6.0_26-b03-383-11A511 Java HotSpot(TM) 64-Bit Server VM
    User home directory = /Users/sreer1990
    c: clear console window
    f: finalize objects on finalization queue
    g: garbage collect
    h: display this help message
    l: dump classloader list
    m: print memory usage
    o: trigger logging
    q: hide console
    r: reload policy configuration
    s: dump system and deployment properties
    t: dump thread list
    v: dump thread stack
    x: clear classloader cache
    0-5: set trace level to <n>
    java.lang.NullPointerException
    at sun.net.www.ParseUtil.toURI(ParseUtil.java:261)
    at sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:861)
    at sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:836)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1172)
    at sun.plugin.PluginURLJarFileCallBack.downloadJAR(PluginURLJarFileCallBack.java:81)
    at sun.plugin.PluginURLJarFileCallBack.access$000(PluginURLJarFileCallBack.java:48)
    at sun.plugin.PluginURLJarFileCallBack$2.run(PluginURLJarFileCallBack.java:150)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin.PluginURLJarFileCallBack.retrieve(PluginURLJarFileCallBack.java:127)
    at sun.net.www.protocol.jar.URLJarFile.retrieve(URLJarFile.java:186)
    at sun.net.www.protocol.jar.URLJarFile.getJarFile(URLJarFile.java:50)
    at sun.net.www.protocol.jar.JarFileFactory.get(JarFileFactory.java:70)
    at sun.net.www.protocol.jar.JarURLConnection.connect(JarURLConnection.java:104)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.connect(CachedJarURLConnection.java:201)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFileInternal(CachedJarURLConnection.java:145)
    at sun.plugin.net.protocol.jar.CachedJarURLConnection.getJarFile(CachedJarURLConnection.java:91)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.getJarFile(DeployURLClassPath.java:752)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.access$800(DeployURLClassPath.java:631)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader$1.run(DeployURLClassPath.java:698)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.ensureOpen(DeployURLClassPath.java:690)
    at com.sun.deploy.security.DeployURLClassPath$JarLoader.<init>(DeployURLClassPath.java:652)
    at com.sun.deploy.security.DeployURLClassPath$3.run(DeployURLClassPath.java:400)
    at java.security.AccessController.doPrivileged(Native Method)
    at com.sun.deploy.security.DeployURLClassPath.getLoader(DeployURLClassPath.java:389)
    at com.sun.deploy.security.DeployURLClassPath.getLoader(DeployURLClassPath.java:366)
    at com.sun.deploy.security.DeployURLClassPath.getResource(DeployURLClassPath.java:230)
    at sun.plugin2.applet.Plugin2ClassLoader$2.run(Plugin2ClassLoader.java:966)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.plugin2.applet.Plugin2ClassLoader.findClassHelper(Plugin2ClassLoader.java:955)
    at sun.plugin2.applet.Applet2ClassLoader.findClass(Applet2ClassLoader.java:134)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:250)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Plugin2ClassLoader.java:240)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:180)
    at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Plugin2ClassLoader.java:161)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
    at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Plugin2ClassLoader.java:675)
    at sun.plugin2.applet.Plugin2Manager.createApplet(Plugin2Manager.java:3046)
    at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Plugin2Manager.java:1498)
    at java.lang.Thread.run(Thread.java:680)
    Exception: java.lang.NullPointerException

    Try posting at the Web Development / Standards Evangelism forum at MozillaZine. The helpers over there are more knowledgeable about web page development issues with Firefox. <br />
    http://forums.mozillazine.org/viewforum.php?f=25 <br />
    You'll need to register and login to be able to post in that forum.

  • Restarting a Java Applet using a JButton

    Hi,
    I have developed an applet which contains a reload button. When this button is pressed i want the entire applet to be reloaded - and for it to look the same as when it was first loaded.
    I have searched the forums for answers on this - and many people have said to call the destroy() and init() methods - but this doesn't seem to work.
    Do I need to define the destroy( ) method???
    Basically - i just want the user to be able to return the applet to its original state.
    Many thanks in advance
    S.

    Try reloading the web page. i.e on click
    applet.getAppletContext().show("yourUrl");
    Of course, I'm pissed out my head and could be taking shite, but, in theory, it seems to be the obvious solution!

  • Create a file at a Windows Vista using java applets

    I have created a java applet which is downloaded to create local file at a Windows Vista PC. The java codes are:
    File out = new File("c:/users/test/hkuesd.properties");
    FileWriter fw = new FileWriter(out);
    PrintWriter pw = new PrintWriter(fw, true);
    pw.println("#sample property file");
    pw.println("key_path=C:/");
    pw.close();
    fw.close();
    If I turn off "Users Account Control" under "Control Panel" --> "User Accounts", the file "hkuesd.properties" is created at c:\users\test and can be found using windows explorer.
    However, if I turn on "Users Account Control", I can not find the file "hkuesd.properties" using windows explorer. But the file can be detected if I run another java applet program with the following codes:
    File xpdir = new File("c:/users/test/hkuesd.properties");
    FileInputStream fis = null;
    if (xpdir.exists()) {
    try {
    fis = new FileInputStream("c:/users/test/hkuesd.properties");
    Properties p = new Properties();
    p.load(fis);
    fis.close();
    privateKeyPath = p.getProperty("key_path", "no value");
    catch (Exception e) {}
    Interestingly, if "Users Account Control" is on and I created the file "c:\users\test\hkuesd.properties" manually, the file creation codes
    mentioned above seems to create another "hkuesd.properties" at the same "c:\users\test". The evidence is I run the second java applet program which can detect the one created by the first java applet but not the one I created manually.

    I agreed that it is hardly explained in words. I
    suggested to write two
    simple java applets using the codes and you will see
    the effects:
    (1) the first applet can create a file
    "hkuesd.properties"
    (2) cannot find the file using windows explorer to
    search the whole drive.
    (3) However, can read the content of the file using
    second applet.You still haven't address your problem of swallowing exceptions. Your code might be throwing an exception that tells you exactly what the problem is. Change your code to display or log that exception.

  • Java applet won't load on browser

    God, I've never been this frustrated with Java before.
    Ok, I created an applet in my eclipse IDE and ran it. It works. I decided to create a HTML file so that the applet would display on my firefox browser (my browser has no problem displaying java applets. All settings are fine).
    This is my HTML code:
    <html>
    <title>Site Selector</title>
    <body>
       <applet code = "SiteTesting.class" width = "300" height = "75">
       </applet>
    </body>
    </html>Now, my eclipse IDE creates a "src" or source folder and a bin folder. The bin folder is where the class files are kept. The HTML file was in the src folder. When I ran it, I got this:
    load: class SiteTesting.class not found.
    java.lang.ClassNotFoundException: SiteTesting.class
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Caused by: java.io.FileNotFoundException: F:\Workspace\RefreshalCourse\src\networking\SiteTesting\class.class (The system cannot find the path specified)
         at java.io.FileInputStream.open(Native Method)
         at java.io.FileInputStream.<init>(Unknown Source)
         at java.io.FileInputStream.<init>(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.connect(Unknown Source)
         at sun.net.www.protocol.file.FileURLConnection.getInputStream(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.getBytes(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.access$000(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader$1.run(Unknown Source)
         at java.security.AccessController.doPrivileged(Native Method)
         ... 9 more
    Exception: java.lang.ClassNotFoundException: SiteTesting.classMakes sense, considering the class file isn't in the src folder. So I copied the class files into the src folder, ran the HTML file, and I got this:
    java.lang.NoClassDefFoundError: SiteTesting (wrong name: networking/SiteTesting)
         at java.lang.ClassLoader.defineClass1(Native Method)
         at java.lang.ClassLoader.defineClassCond(Unknown Source)
         at java.lang.ClassLoader.defineClass(Unknown Source)
         at java.security.SecureClassLoader.defineClass(Unknown Source)
         at sun.plugin2.applet.Applet2ClassLoader.findClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass0(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadClass(Unknown Source)
         at java.lang.ClassLoader.loadClass(Unknown Source)
         at sun.plugin2.applet.Plugin2ClassLoader.loadCode(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager.createApplet(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.lang.NoClassDefFoundError: SiteTesting (wrong name: networking/SiteTesting)Huh. I took the html file and placed it in the bin folder where the class file was and I ran it and got the exact same error message above.
    I'm obviously doing something wrong. So, any help in fixing this will be most appreciated. Cheers

    Your java file starts with:
    package networking;Right?
    If so, the fully qualified name name of your class is networking.SiteTesting.
    Use this in the applet tag:
    <applet code = "networking.SiteTesting" width = "300" height = "75">Suppose you have your html file in the directory zzz.
    Put SiteTesting.class in zzz/networking/, like this:
    zzz/whatever.html
    zzz/networking/SiteTesting.class

Maybe you are looking for