8872 byte By
6tr6tr at 2007-9-26 13:58:46
Basically the problem is this: the plug-in LoginModule model of JAAS seems to allow clients to falsely authenticate (or at the very least is VERY prone to this). In particular, the manner in which a Subject is associated with a valid/authenticated Principal is dangerous and error-prone/open to ...
Hi, I'm trying out an applet that i copied from a code example out of a book. I signed the JAR file and all and posted it on the Internet. Everything seems to work fine in Windows NT 4 and Windows 2000, but I would like this to be tested on other platforms also. You do need the JRE 1.4 plug-in ...
I have written a program to generate a private key the program compiles fine but when I run it it throws following exception :java.security.NoSuchAlgorithmException: Algorithm DES not availableat javax.crypto.b.a([DashoPro-V1.2-120198])at ...
1415 byte By
vickyk at 2007-9-26 13:59:25
Hi, I have been doing the web programming from the past one year and now I had started working on the security concept.My understading says the data to be send through the network should be in encrypted format.To do so I had planned to write a logic and let it run on the cliens data.Since ...
Yesterday I posted my question here. And one said that the 3rd point of my question is not so clear. I am sorry. And I repeated it here.In many cases it is interesting to know where a particular point in the image space moves in the course of time series. So, what I would like to do is:The ...
999 byte By
daloch at 2007-9-26 13:59:51
I've load the image with javax.swing.ImageIcon =new ImageIcon(filename);Image im=(Image)ImIc.getImage();BufferedImage iB=new BufferedImage(Width,Height,BufferedImage.TYPE_INT_RGB)now I've to scale itBufferedImage newiB = new BufferedImage(scaledW, ...
124 byte By
serpeal at 2007-9-26 13:59:55
Hello, I need to extract individual frames from an MPEG movie and I don't know how. Would you please help me?
Hi,I try to use Java 3D to display large terrain, which has more then 100,000 triangles in the original model. It won't work without the adaptive LOD to reduce the triangle numbers. I am wondering if anyone has similar experience and could you give me some advice? Wizofid, I am really ...
1942 byte By
bamine at 2007-9-26 14:00:40
Hi all,i'm using : * jsdk 1.40 beta, * java FTP client using JSSE (with trusted certificates stored in my keystore)* Ws_FTP server (from Ipswitch) wich is SSL-enabled.when i try to connect from my client i have the following exception:javax.net.ssl.SSLException: Unrecognized SSL handshake.with ...
577 byte By
daloch at 2007-9-26 14:02:03
Last problem (I hope).In Photoshop I can save in the jpg file some extra data like description of the image, author etc.There is some way to exctact this information from the jpg file?I've try with:JPEGImageDecoder jpid=JPEGCoder.createImageDecoder(InputStream);JPEGDecodeParam ...
Hi,I have an application that makes use of Java3D. During its install, do I have to run the Java3D installer, or can I simply place the dll and jar files in the right places? Thanks
hi all, we are using JDK1.3.1_01 in our project. We want to install JAAS to use with JDK. Is Kerberos support bundled in JAAS 1.0? I seem to get the impression that kerberos is only available in JDK1.4(since JAAS is bundled with JDK in 1.4)Thanks in advanceMax
Is it at all possible to perform encryption on an object? Using bouncycastle to do RSA assymetric encryption. I have only seen examples of encrypting byte arrays and files. I have an object of type Student. That basically contains a couple of strings containing valuable data. I would like to ...
Is it at all possible to perform encryption on an object? Using bouncycastle to do RSA assymetric encryption. I have only seen examples of encrypting byte arrays and files. I have an object of type Student. That basically contains a couple of strings containing valuable data. I would like to ...
Hi!I am having this problem that how to change the icon of coffee on the titile barif someone know how please respond Asif
1366 byte By
coday at 2007-9-26 14:06:51
Hi, I'm pretty new to JMF and doing some proof of concept work to build a Video Conference Application. I've modified the AVReceive2 and AVTransmit2 classes so that MachineA transmits a stream to MachineB, MahineB accepts the stream and "reflects" it to MachineC. This works fine if I use the ...
Hi,I am developing a java client for a web service (IIS 5.0, Windows 2000). I am using SSL for the webservie as a part of security. So on Java side it would be JSSE who will be taking care of the SSL activity. I have installed JSSE and followed all the steps. I have got a verisign test ...
410 byte By
aliasgar at 2007-9-26 14:07:26
Hi,I have a htpasswd file that I need to authenticate users against. I get the user name and password from a jsp login page, but how do I check that the given password is that same as the encrypted password stored.My entries look likealy:QWER 34RE WE3T ER43I dont even know what method was used ...
1135 byte By
amit_i at 2007-9-26 14:07:39
hi hers my probsi have a jsp client which has a method which in turnopens an https://antares:7002 connectionand i have enabled Two WAY Authentication for ssl.thro my methodi want to pass client certificate to server in same session, is it possible here is my errorjavax.net.ssl.SSLException: ...
378 byte By
tetrix at 2007-9-26 14:08:27
Where can I find docs for sun.security.x509.CertAndKeyGen (and the rest of the sun.security.x509 packages) ? The URL given in another topic isn't valid any more.Mainly, what is the meaning of the 2nd parameter in the constructor ? Most examples pass a long 2000000, I just really like to know ...
2033 byte By
vyw at 2007-9-26 14:08:43
Are we in trouble if we stick with the Sun reference implementation of JSSE as opposed to finding a commercial implementation?We've been using the Sun reference JSSE implementation (1.0.2) and it works great. We have no need for any capability beyond what it provides. However, the ...
130 byte By
DadEvil at 2007-9-26 14:09:04
Is there a fast way to create ImageBuffer from Image?I can do it via PixelGrabber, but this is too slow... :(
446 byte By
cmmurphy at 2007-9-26 14:09:46
I have an servlet that talks to a secure gateway to get authorizations from a credit card. My servlet worked wonderfully on JDK1.3.1 and JSSE. As soon as I upgraded to JDK1.4.0 Beta3, it broke. It is having a big problem with this line:-HttpsURLConnection connection = ...
I am IT guy and I am creating a platform ( a roaming desktop) based on internet environment. Right now I'm using Novell Server as backend to provide file storage place. My dream is that let the corporation develop their own applications (ie. Accounting, MRP, HR etc) based on my platform and ...
Hi!I'm a third year software engineering student at QUT, and I'm considering taking up a one person 180 hours project to develop a stand alone java application which loads VRML worlds, and also allows users navigating the world to record text (as feedback) at nominated viewpoints in the ...
1. I read Chapter 1 of Java 3D API Tutorial: "Getting started with the Java 3D API". I want to get or downloaded the source codes of "HelloJava3D". But how can I find these source codes?2. I input the source code of HelloJava3Da by hand. But how can I run it? Using "javac" command under DOS? I ...
1084 byte By
gulfi at 2007-9-26 14:16:20
Hi everybody,I'm facing a nasty problem that has to do with FilePermissions. I'm using J2EE RI V1.3 and SOAP V2.2 to build a simple web services on a W2K machine. I have successfully deployed the soap.war on my local host but as soon as I try to deploy any web service that comes with SOAP ...
422 byte By
SAFM3 at 2007-9-26 14:17:07
I am working on an application that reads a property file containing a user name and password to a production database. This is obviously sensitive information. I want to use SecurityManager to restict READ access to the file except for certain users. I've looked around but I dont see any ...
Hi!I'm making a system based on a C/C++ server and a Java client talking SSL to eachother. On the server, I'm using OpenSSL, and JSSE on the client (Suns implementation). We have a CA on the server, made also with OpenSSL. I have made certificates for the server and client using this. The ...
Hi, I have an Applet that requires access to the system clipboard of the client. I have never had to sign an applet before, and wanted to know if I need to have a Verisign certificate or equivalent in order to distribute this over network where I work.The network uses NT authentication so is ...
I am printing a Graphics2D object. I am able to print my Graphics2D object but the problem is that the printable area is a lot smaller then the page size. There is a huge border around the page to which i cannot print. I need to make this area smaller. I am using the methodspf.getImageableX() ...
306 byte By
niddu at 2007-9-26 14:18:58
hello boysthis is my first post here: i know that for using flash in an applet java i have to search something in java media frameworks... but how can i insert flash in an applet?in that documentation there is the explanation for use jmf with .avi or .mpeg and not with flash...thanks ...
487 byte By
seralex at 2007-9-26 14:19:11
Hello friends, Desperate to solve this problem, have searched this forum all over, but haven't found the answer.I have a typicall senario:1. Login page secured with HTTPS.2. On valid login the response is redirected to HTTP (not secure) page.But the redirect caused the session to be lost. I'm ...
132 byte By
PatLav at 2007-9-26 14:19:29
I want to know if there is a method that will not re-drawall the applet only the region that have been changed.
530 byte By
Kalizen at 2007-9-26 14:21:18
What with this message?' No Configuration Class Name Supplied'When I try to create a LoginContext Object with the command line :lc = new LoginContext("MyAppli", new MyCallbackHandler());The following lines are in my java.security ...
1. I read Chapter 1 of Java 3D API Tutorial: "Getting started with the Java 3D API". I want to get or downloaded the source codes of "HelloJava3D". But how can I find these source codes?2. I input the source code of HelloJava3Da by hand. But how can I run it? Using "javac" command under DOS? I ...
Hi all,Iam trying to use Solaris Authentication as backend.Iam using JAAS 1.0, jdk1.3.xI downloaded the tutorial from Sun's web site and changed the JAAS configuration file to use SolarisLoginModuleIn the code, i call the LoginContext's login() method passing lc.login(cfgEntryName, new ...
Hiyas,Still trying to figure out how to implement SSL with jdk 1.4. I tried outputting all the SSL debug info from the client and server... interestingly enough, they both have the same certificate chain (namely, the only certificate in the chain is the one I created in a keystore ...
using the following example from professional Java Security to test my installation of jce and bouncycastle.<code>import java.security.*;import javax.crypto.*;/** *SimpleExample.java * *This class creates a TripleDES key, encrypts some text, *prints the ciphertext, then decrypts the text ...
I am working on a project to capture live audio and stream it across the internet. I currently can capture the audio using JavaSound, but I need an efficient way to stream the audio across the net. I have seen an article that implies you must use a 3rd party audio stack, such as H.323, in order ...
Hiyas,I'm using jdk 1.4 beta 3 to encrypt various files with 128-bit blowfish encryption. I use the Cipher class to generate a new blowfish instance, open a FileInputStream for the file to be encrypted, read in 8 bytes at a time into an array (padding arrays w/o 8 bytes), then write the array ...
I want to simulate the movement of cell nucleaus(GUI, rotation, movements of the nucleus). For computer languages and 3D visual tools, I have 2 choices, c++ and Open Invertor, or java and Java 3D. Java 3d and Open Inventor, which is better?
299 byte By
B_randy at 2007-9-26 14:24:51
Hi !I am accessng a database in a sort of client server application. I have an Applet which should access the MS-Access Database which is at the Server.But, I am not able to do it.I tried signing it,but it also did not work.Please help !!Max !
998 byte By
Kalizen at 2007-9-26 14:24:57
thanks for your answer,I still need a precision.I already have a block of this kind :myAppli {com.sun.security.auth.module.SolarisLoginModule required debug=true;};...in a file name MyAppli.login.config and I put a reference to it in the java.security fileas ...
924 byte By
marklowe at 2007-9-26 14:25:54
I'm new at this game, so I hope I'm not being stupid...I have a simple java application (server and client) thatopens upsockets and transfers text to each other. It works fine as an applicationand now I've converted the code to run as applets.But when I try to run the .html page with the ...
Hi everybody,Im running a sample code of NT authentication con JAAS and my problem is that the program just authenticates me, because Im logged in. I want it to authenticate a user of my choice, giving a username and a domain... How could this be done ?Thanks in advance.
197 byte By
balat100 at 2007-9-26 14:27:10
I have digested the text using MessageDigest class . How Do I Read back Digested Info (MD5) Back ?Any help in regard appreciated !bala(balat100@rediff.com)
832 byte By
ezanga at 2007-9-26 14:27:13
Hi all!I am new to java. I am writing a client server application using JDK 1.3 and I want the user to enter in a user name and password and have my app check the password against the users password stored in a central database. I guess I am looking to understand what is the approach or method ...
778 byte By
glpeters at 2007-9-26 14:27:41
I'm trying to connect to the following site with https: using JSSE. When i try to read from the input stream it seems to be blocked.. i have installed and registered the certificate for this site with keytool. why would the inputstream be blocked?Any help would be greatly approciated,GregURL ...
If you want to know how to convert a list of Jpegs to AVI I will share the working code but you will need to share some of working code with me (preferrably graphics).Email if you have code to share: MelissaRiz@cbimembers.com