Imp:How to find out whether client authentication Enabled on the Web Server

595 byte By krishc_2000 at 2007-9-26 8:06:35
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 ...

sun.security.util?

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 ...

mpeg and frame-level access?

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 ...

How do I write JPG or GIF files

147 byte By thomascheah at 2007-9-26 8:11:12
Hi,Is there anyway I can write the Image object into GIF or JPG file appropriately?Thanks!Regards,Thomas.

Change the brightness and contrast of an image.

307 byte By thomascheah at 2007-9-26 8:11:14
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. ...

How can I read *.pcx Image ?

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. ...

Runtime Error : Export Restriction: JSSE only

706 byte By iwishtolearn at 2007-9-26 8:12:32
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 ...

Runtime Error : Export Restriction: JSSE only

699 byte By iwishtolearn at 2007-9-26 8:12:33
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 ...

Java 2D and hardware accelleration

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

Controls

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

Sound card detection - simple solution

654 byte By Stefan Hoba at 2007-9-26 8:15:29
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 ...

Data Encryption

64 byte By muhammadfayaz at 2007-9-26 8:16:46
Is there any class which have 128 data encryption.

Incompatibility jdk1.4-beta1 and jdk1.4-beta2 JSSE and OpenSSL

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 ...

BufferedImage cannot be serialized

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 ...

using keytab in krb5LoginModule in jdk1.4

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 ...

Components over Video

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?

JAAS, Servlets, and Authentication

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 ...

midi in port

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 ...

ssl socket input stream close

1638 byte By kellyclauson at 2007-9-26 8:27:17
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 ...

Prevent use of "-Duser.name=root"

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 ...

Undesired holes

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 = ...

How do I encrypt a text file please ?

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 ...

SSLContext NoSuchAlgorithmException in WebLogic 6.1

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 ...

DES Encryption / API

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.

Indirect access to protection domain

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 ...

Multiple JAAS Identities from Single Client?

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 ...

installing the cross-platform version of jmf

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 ...

Displaying an xray image

1146 byte By DarrickWhite at 2007-9-26 8:39:03
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 ...

distributing jmf with an application

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 ...

Way to logout user with Basic Authentication?

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 ...

Relationship between JCE and JSSE providers.

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 ...

java speech recognition

686 byte By vck_sekhar1 at 2007-9-26 8:41:39
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 ...

socket write error -certificate based client authentication

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()); ...

Error Canvas3D_createContext

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 ...

How to clear Applet cache in IE?

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,

QuadCurve2D

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?

signed applet communication on Mac

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 ...

Using the krb5LoginModule to access cached credentials...

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 ...

Permissions with two jar files

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 ...

How to control user access

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.

Chart2D - A Free Charting Library (LGPL)

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 ...

XP compatibility problem

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 ...

rotate TextLayout

63 byte By shayhandelman at 2007-9-26 8:51:21
How can i rotate TextLayout Object in 90 degrees.

JarCreator and code sign

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 ...

get UserName in WinNT for Applet view in browser

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

Yes or No question

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

Do User Access in WIN NT?

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 ...

how to send client certficate to server

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 ...

purchasing digital IDs ?

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

Font Bitmaps

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 ...