Hi,I am trying to find out whether the Client Authentication Enabled on the Web Server or not. Reason for doing this, if we have two certificates in the key store which will authenticate the Web Server, JSSE Authentication will always take the first cert from the keystore. If the first ...
367 byte By
jmathers at 2007-9-26 8:10:44
Anyone familiar with this package? I'm getting an exception in sun.security.util.ManifestEntryVerifier, but there are no JavaDocs on this in the JDK docs. I think I've got a problem referencing a certain .jar file, but not sure aobut much else.Shouldn't the package name start with "com"? Any ...
493 byte By
aclong at 2007-9-26 8:10:46
Is it possible to access individual frames of mpeg files?I tried using getControl("javax.media.control.FramePositioningControl")on a MediaPlayer, but it returns null. I saw a suggestion that I do Manager.setHint(Manager.PLUGIN_PLAYER, Boolean(true)) at the beginning of my program, so I did, but ...
Hi,Is there anyway I can write the Image object into GIF or JPG file appropriately?Thanks!Regards,Thomas.
Hi,1. How do I change the brightness and contrast of an image.2. Is there any preexisting class in JDK to do this?3. If there isn't any, how do I calculate to change the brightness and contrast of each pixel using the RGB model?Thanks!Regards,Thomas. ...
310 byte By
KanaT at 2007-9-26 8:12:00
Hello!Now, I want to read and save pcx image.I use jimi1_0 and its sample that name is JimiBrowserApp.I load jpg image, and I can save as pcx image.But, then, I try to read the same pcx image, I can't.why?Do you have any idea ?please help. ...
Hello, I have a Prblm in JSSE .My Application Tries to contact another Application thru https.I have Done Following Changes 1.System.setProperty "java.protocol.handler.pkgs" , "com.sun.net.ssl.internal.www.protocol" ); java.security.Security.addProvider( new ...
Hello, I have a Prblm in JSSE .My Application Tries to contact another Application thru https.I have Done Following Changes 1.System.setProperty "java.protocol.handler.pkgs" , "com.sun.net.ssl.internal.www.protocol" ); java.security.Security.addProvider( new ...
212 byte By
cdteel at 2007-9-26 8:13:15
Is there a way to use Java 2D and take advantage of a graphics card accelleration (ie. Creator 3D) or do I have to convert my application to Java 3D? If so, how compatible are the APIs?Thanks
252 byte By
Kugels at 2007-9-26 8:13:52
First, I just thought I'd ask what some of you are using Java3D for, out of curiosity,Secondly, I am having some trouble understanding how to tell a behavior to look for a specific key press, say the 'w' key to walk or something
Hello,this goes to all who are interested. The question how to detect a sound card was brought up in the past, and I found a quite simple way to do it. To my knowledge, this was not posted before.The following code returns true if a sound card is present and enabled. I tested it on a couple of ...
Is there any class which have 128 data encryption.
2931 byte By
batman23 at 2007-9-26 8:16:53
Hello!When I try to establish connection between two applications running on jdk1.4 beta1 and beta2 accordingly via SSL I get the following exception (I'm using RMI over SSL):java.rmi.MarshalException: Error marshaling transport header; nested exception is: javax.net.ssl.SSLException: Server ...
475 byte By
markee1 at 2007-9-26 8:18:01
I have a program which loads a lot of images and thenprocesses them. I want to avoid holding them in memory (they are quite large). If possible, I don't want to encode as JPegs and then decode again.So I want to put them on disk as serialized BufferedImages and then use each in turn.If I try ...
627 byte By
syzhong at 2007-9-26 8:21:09
I tried the sample client/sample server in "doc/guide/security/jgss/tutorial" with krb5-1.2.2-4that came with RedHat 7.1. Everything worked fine until I changed"bcsLogin.conf" to...com.sun.security.jgss.accept { com.sun.security.auth.module.Krb5LoginModule required storeKey=true ...
148 byte By
vmkankku at 2007-9-26 8:21:40
Im trying to paint my light weight Components overJMF Video ,but I cant get them visible.How should this be done?
1535 byte By
eglerk at 2007-9-26 8:22:15
Hi,I've been trying to get JAAS authentication working in a web based application and am running into some problems - I'm hoping that someone can clarify. Ideally, I would like to set up form-based authentication on the web app, authenticate the user ONCE, and the have the app server (servlet ...
564 byte By
bonso at 2007-9-26 8:27:13
I do not the info object for the MIDI IN port with a call such as this:MidiDevice.Info[] midiDeviceInfos = MidiSystem.getMidiDeviceInfo();I am using Sound blaster live, Windows 98 second edition.Note, I do get the OUT port: "SB Live! MIDI Out [10E0]" and syntheziers etc etc Is this a bug or ...
Hi,I've extended a comm package by adding support for ssl client and server sockets. A DataInputStream is used to read data coming in to the client socket. An attempt to close the input stream object causes a deadlock. Calling close on the socket without closing the input and output streams ...
580 byte By
wallroth at 2007-9-26 8:28:55
We are developing a program that requires the user to be authorized to use it.Can I use the system property user.name to check the username to authorize the user?It seems to me that any user then may just make a copy of the startscript and use "-Duser.name=root" in that script to get root ...
958 byte By
baronian at 2007-9-26 8:29:07
Using GeometryInfo i define a 3d object anfd then i use this information in a GeometryArray with flag Polygon. I don't want holes in my polygon but i got. In the polygon properties i put POLYGON_FILL , here is the wrap of code:float[] coordinateData = null;coordinateData = ...
342 byte By
DomK at 2007-9-26 8:30:35
Hello,I want to encrypt a text file that we send to our customers and also enable them to read it in its original format (ie decrypt it). AFAIK this is different from Certification, can anyone point me in the right direction on how to do this and if the JDK has classes that I can use to do ...
1532 byte By
vlcans at 2007-9-26 8:33:10
I am having difficulties using the JSSE 1.0.2 extension in WebLogic Server (WLS) 6.1. Basically, I'm migrating from WLS 5.1, where the code worked fine.My situation is that I have a servlet that is acting as an HTTPS client, making an SSL socket connection to a different server.-start ...
196 byte By
rapong at 2007-9-26 8:35:23
Hi, can anybody tell me where I can download the DES Encryption API? Maybe you can also give me other sites or references regarding DES / Triple DES encryption in JAVA.Thanks.
1017 byte By
Corpse at 2007-9-26 8:35:35
Hi,I have a few classes that are in a protection domain, say A, with the necessary permissions to create (jdbc-odbc) database connections. Now I want classes that are not member another protection domain B (so classes outside of the protection domain A) to only be able to get database ...
766 byte By
lstudley at 2007-9-26 8:35:39
Hi allSpecifically I am trying to talk from one jboss app server to another with different JAAS security identities in each, but I am having difficulties. In the simple case though I wonder if anyone has managed to perform 2 JAAS logins with diferent subjects to a server and use them ...
508 byte By
crivers1 at 2007-9-26 8:37:11
I downloaded and exploded the cross-platform version of jmf on a windows nt box. I set my classpath to point to jmf.jar(per the setup instructions). I have a simple application that basically launches the movie viewer, but using this version of jmf doesn't allow me to view mpg's or avi's ...
I'm trying to take an x-ray image (pixel values range from0 - 65535 [16 bit] black -> white) and display it in a java window. I really have no clue where to start with this. So I'll explain what I have and maybe someone can help me out. Given an image (size 1024x1024, these pixels will be ...
560 byte By
crivers1 at 2007-9-26 8:39:41
I have a simple file manipulation gui program that I created an installer for and allow people to download it and install/use it. I have added the functionality to view media files (with jmf) and want to be able to distribute that in the same manner. My question is how would I bundle JMF into ...
390 byte By
SusanO at 2007-9-26 8:39:50
Does anyone out there know a way to have a user logout of a session, short of closing the browser, when they have been authenticated using Basic Authentication. In Jason Hunter's book Java Servlet Programming, he says basic authentication does not support any log out mechanism, but I am asking ...
345 byte By
jimcot at 2007-9-26 8:41:36
Howdy,I need clarification about the relationships between JCE and JSSE providers.Do JSSE providers function independantly of JCE providers. If a JCE provider supplies a specific encryption algorithim, is it used in the JSSE?Or are only the JSSE provider encryption algorithims used ? Jim ...
I am working on Speech Recognition in java. My requirement is I want to convert input voice to text. To accomplish this I have downloaded the Speech for Java Java programming SDK. I have also downloaded the IBM viavoice runtime for English_US ietts5us.zip (3 mb) from ibm.com/viavoice. When I ...
1209 byte By
meenarc at 2007-9-26 8:43:26
hi,am trying to implement 2 way ssl between a java client program and Netscape directory server.I keep getting socket write error for a client code as followsSecurity.addProvider(newcom.sun.net.ssl.internal.ssl.Provider()); ...
561 byte By
epkbjma at 2007-9-26 8:43:27
When I try to run the HelloUniverse demo included in the Java3D package. I get the following error message:Error Canvas3D_createContext: couldn't create context.Error Canvas3D_createContext: couldn't create context.Error Canvas3D_createContext: couldn't create context....I have tryed native ...
193 byte By
lili3000 at 2007-9-26 8:45:59
Though the applet files is updated and compiled. The new class file is there, but the browser keeps bringing up the old version. Anyway to clear the cache instantly?thanks,
159 byte By
hendog at 2007-9-26 8:46:21
Given a Point p and a QuadCurve2D c, what is the easiest way, programatically, to find the point on the QuadCurve2D c that is closest to Point p?
398 byte By
FinnLeth at 2007-9-26 8:47:00
In Denmark homebanking is goin on the net with NetBank. My bank postulates that Mac users cannot participate, as signed applet communication is not supported on Macs.I find it hard to believe an suspect that ActiveX components are the crook here.Can anybody confirm my suspicion. Or clear my ...
1929 byte By
sgilpin at 2007-9-26 8:47:06
Hi there -I'm trying to run one the tutorial on JAAS Authentication with thekrb5LoginModule on windows 2000. I'm trying to get the credentials fromthe ticket cache on windows. I get the following error - which lookslike it can't load a native library. Which library is it trying toload? My ...
1532 byte By
jpomeroy at 2007-9-26 8:47:51
Hello,I've run across a interesting problem. I'm using Java 1.3.1 with JAAS 1.0. I've written a LoginModule, Principal, and CallbackHandler that reside in one jar, authentication.jar. The class that use the authentication.jar is in another jar file, client.jar. When ever I run client.jar, I ...
215 byte By
mortoza at 2007-9-26 8:48:10
HiI want to design user access policy wherein the application administrator could be able to allow or restrict in different GUI as well as it's functions. Any idea is appreciated.
955 byte By
jjsimas at 2007-9-26 8:48:12
keywords: chart2d, chart, graph, pie, bar, line, dot, scatter, plotChart2D is a library written in Java for adding 2D charts to Java programs (or for exporting them to images). It can draw the following charts: pie, line, vertical and horizontal bar, scatter-plot, and charts with any ...
349 byte By
namekal at 2007-9-26 8:48:14
Hi all,when i try to install the windows performance pack for jmf2.2.1 into my XP OS. The initialization of setup is not able to complete... unexpected error occurs. Well, a lot of other application fails to install as well.does that mean i cannot use jmf under XP ... sign ... who ever ...
How can i rotate TextLayout Object in 90 degrees.
385 byte By
heiss2 at 2007-9-26 8:52:49
Hello programmers around, A little tool allowing Jar creation, code signingand some other features is avaiable as WebStartapp at http://62.65.146.182/java/JarCreator.jnlpthe source code is in the Jar, you can extract it, just locate the jar in the cache of WebStart.It can be easily extended to ...
155 byte By
dy_lan at 2007-9-26 8:53:26
I juz wanna if there's a way to get the window NT login Name in applet to view in IE or Netscape without granting any persmission.... thanks
156 byte By
dy_lan at 2007-9-26 8:53:27
I juz wanna if there's a way to get the window NT login Name in applet to view in IE or Netscape without granting any persmission.... thanks
410 byte By
meowo at 2007-9-26 8:53:39
I am using JSP to connect to a MS Access using jdbc:odbc. This part is alright. I want to implement a user access control for my website(under Windows NT server). Example i have a number of user and they have to logon in order to access into my website. I am thinking of using WIN NT user access ...
1229 byte By
meenarc at 2007-9-26 8:56:02
Hi,Any idea how to select a certficate from a keystore and send it for authentication?i have to send the client certificate to the server for authentication.everytime i load the certficate using Keymanager,the init method throws unrecoverable key acception .this is the way i load the keymanager ...
183 byte By
mfarhans at 2007-9-26 8:56:59
Hello everyone,I just need to know that do we need to purchase digital ids for signing our applet or this process is free of cost..Thanks in advance
361 byte By
SteveMcc at 2007-9-26 8:57:54
As a java novice I am trying to generate bitmaps of each character in a particular font. I assume that i can select a font type and somehow render each character then somehow extract the bit map (using PixelGrabber ?)I have seen an example which partly does what I want but it seems very ...