keytool -list cacerts wants password

267 byte By Hota at 2007-10-2 19:48:03
When I tried to list that file D:\JRE\Sun\1.4.2\lib\security\cacertskeytool asked for a password. I do not know what that password is. I was the one who installed JRE1.4.2 but was never asked to assign any password.What should I do?

Internal users should use http and external users should use https

543 byte By swapna_seerlaa at 2007-10-2 19:48:54
Hi,I am new to this group. I need an urgent help. My requirement goes this way: I have a portal application. I have 2 groupd internal and external and 2 roles interaluser role and external user role. the groups are assigned specifically to these roles. I have to configure such that internal ...

keystore question

944 byte By JAM-MSCa at 2007-10-2 19:54:10
I have been digging around on this for a while now, with little success.I have a valid X509 certificate from a trusted CA that I purchased recently. I need to know if there is a way to get the private key from this cert into a java keystore.I've been able to load the private key into a ...

logginf off problems - ibm_security_logout

1807 byte By jarasa at 2007-10-2 20:19:52
I'm writing an apllication in JSF. I decided to use JAAS to secure it. Logging in is carried with j_security_check mechanism. It works fine. I can log in and use the functionalities that are secured from anonymous users.After logging in it is reasonable to log off. I've read using ...

Please help, keystore file generation

248 byte By lorensius_wlta at 2007-10-2 20:23:21
Hi all,I'm building an digital signature application using java, one of it's module is private/public key+certificate management.How can i create keystore file or edit using API not keytool ?Best regards-Lorenz-

JACC without J2EE Application Server

989 byte By Pavel_Krupetsa at 2007-10-2 20:44:42
Hello,Guys can I use Java ACC without J2EE server? I mean I need to intercept permissions checks.I know people can say that if you need Java ACC use J2EE. But I don't need 90% of its features. I only need to set Principal in thread which processes users requests:Subject subject = new ...

File security, NTFS, inheritance of security settings

763 byte By mhaavea at 2007-10-2 20:52:02
I have a folder in WinXP that is set up with access for all users. I have also turned on inheritance of the security settings for all subfolders and files. I am logged in to windows as Administrator, and runs my Java program that deletes a file in this directory, and downloads a new instance of ...

PROBLEM: loading jaas.config in the web application

368 byte By tonytlca at 2007-10-2 21:03:19
Hi,my problem was load jaas.config in the web application, the way that I suppose was best it's to load a configuration file in the web.xml of my application, but I they are not a veteran of xml and I have a problem of implementation for this solution.I hope you know a solution of my problem ...

CD-Key Questions

891 byte By TimFreya at 2007-10-2 21:31:46
Right now I'm looking into creating an installer for our software and one of the features that we would like to have is the ability to have a CD-Key or some mechanism to keep people from just freely passing the software around. I don't think the installers I'm looking into (namely ...

Pre-authentication information was invalid (24) authoriazation against AD

5582 byte By JCDentona at 2007-10-2 21:35:26
Hi all,im going to be really desperate from this error message during the authentization to the Win2003 server where the Active Directory is running ... Im using Krb5LoginModule. - Our administrator of the AD service has enabled DES encryption at the tested account. - Im sure that entered ...

Apache XML Security - is the project moved or stoped?

688 byte By Miroslav_Nacheva at 2007-10-2 21:37:34
I found that xml.apache.org/security project is without new releases from long time. Also the documentation is missing and the only way to understand how it works is through debuging line by line.I need of XML encapsulation for simple and nested hierarchical signature, encryption and ...

building login module

524 byte By supermaxa at 2007-10-2 21:40:01
Hi!I have a project to do in networking security. One of the moduls is building a secured login system. It suppose to be on same level like unix works. Encrypting 0 with DES like 25 times using salt+password and storing it with the username.Now we didn't learn anything about security in java, ...

redirecting to https from http server when using form based login

2414 byte By sean_cronina at 2007-10-2 21:50:48
Hi,I wonder if someone can help me.Short version of the question.I do not understand how I can get my form based login to redirect to https rather than http. Long version of the question.Here抯 the scenario:a)we have two servers sitting behind a web switch. Connection between the client and the ...

JAAS. How to set remote user in the session?

1908 byte By kdva at 2007-10-2 21:56:50
I have a working J2EE application (A), which uses internal authentication and authorization without JAAS as well as a custom engine library. I need to replace the old engine with a new one.The new application (B) should use JAAS. But the old application should be rebuilt step-by-step. So, ...

JAAS and windows XP authentication

400 byte By jmgreen7a at 2007-10-2 22:09:20
Hey all,I completely am not following the JAAS overview, nor do i fully understand if it can do what i need it to do. I'm trying to prompt a user for the username and password of the sysadmin on windows. Is it really possible to get that information from windows to authenticate it?Can someone ...

javax.xml.crypto.URIReferenceException:

4193 byte By AjitRa at 2007-10-2 22:31:45
I am trying to write XML Digital signature code using xmldsig.jar from JAVA Web Services Developer Pack 2.0.It works fine if I sign whole document. If I try to sign only reference..i.e. part of document by specifying URI while creatig Reference, it doesnt work. Its throwing below error...Any ...

Java Security (JAAS)

883 byte By tejeswar_pa at 2007-10-2 22:36:59
Hi!I created login module using java security (JAAS). In that 'logout' link is working properly at client side. but it is not working at server side.It is giving following exception at Browser.The requested URL could not be retrievedWhile trying to retrieve the URL: ...

JAAS & WebContainer interaction

564 byte By inksystemsa at 2007-10-2 22:37:22
Hi everybody,is there any common way to retrieve authenticated user subject?For example, Tomcat/JBoss store it in "javax.security.auth.subject" session attribute after successful authentication, but WebSphere does not.Stricktly speaking LoginModule cannot access session or application context ...

policy file - execute - RMI

2407 byte By rouillarda at 2007-10-2 22:54:05
Hello,I have designed a client/server application using RMI. The client is calling 2 third-party program (non-java, hybrid-min and hybrid-ss-min in the example below) for one step of the computation. I use a policy file to grant file access on the client side. If I grant the execute permission ...

User authentication using Kerberos - case sensitivity problems

792 byte By Tebriela at 2007-10-2 22:58:06
Are there any workarounds for the fact that Kerberos usernames are case sensitive, when trying to authenticate (Active Directory) users that don't know (or care) what the correct capitalization of their username is? Logging into a windows workstation isn't case sensitive, so nobody would ...

Kerberous authentication

1931 byte By GilM.a at 2007-10-2 23:01:38
Hi,I'm trying to configure Weblogic 8.1 to use SPNEGO with AD 2003. The Weblogic server is installed in Windows machine (separate machine from KDC).I've configured AD according to BEA documentation "Configuring Single Sign-On with Microsoft Clients" ...

XML Signatures - How To ?

506 byte By Miroslav_Nacheva at 2007-10-2 23:03:58
I need of help how to organize a XML structure for hierarchical (nested) signature scheme. For example:Signed Object 1: O1Signatures Level 1: - S1.1 signs O1; - S1.2 signs O1;Signature Level 2: - S2.1 signs O1, S1.1 and S1.2 - S2.2 signs O1, S1.1 and S1.2Signature Level 3: - S3.1 signs O1, S2.1 ...

SSL - certs related question

608 byte By java80a at 2007-10-2 23:04:34
Hi Friends,I got a ssl-certs question,hope someone helps...becuase I am relative new to this.I have an app.that allows user to connect through 2 different ports(say A and B).I have different keystores for both of them that contain SSL-cert,CA-cert and Root- cert.But,when I try to connect to ...

How to Protect the resources

541 byte By muneeba at 2007-10-2 23:17:17
HiI am writing an stand-alone application and want to protect my resouces. For example i have an image file and i donot want anyone using the application to have access to the file, although the application can make use of it and display it on screen but no one should be able to access that ...

https connections failing when connecting through a proxy with 1.5.0_01

2926 byte By suzannepa at 2007-10-2 23:31:08
Using IE browser or Mozilla firefox with a proxy setting pointing to a ISA proxy server on port 8080.The ISA proxy server has either Basic authentication OR, integrated windows authentication enabled. When the applet connection is being made with a secure (SSL) https connection - the connection ...

SPNego Tokens...

10252 byte By JCDentona at 2007-10-2 23:34:26
Hi all,i have two simple questions.....it seems really that GSS-API is not able to handle SPNego tokens, due to this i have decided to parse Kerberos token from it, via my own utility. 1) Please what is the best way of the finding the begin of the Kerberos Token which is being wrapped inside of ...

can any user other than root access privileged port?

276 byte By ramc@44a at 2007-10-2 23:37:46
hi,I wanted to run a UDP listener on 500 port. The java program that listens on port 500 is run by a normal user. Does java provide configurations to allow a normal user access privileged ports? Or is it impossible for a normal user to control privileged ports.?

Algorithmic Research MiniKey

52 byte By alexandr87a at 2007-10-2 23:38:19
How i can get KeyStore object from this token

JAAS + SJSAS 9.0 = 403 error

4994 byte By displaynamea at 2007-10-2 23:45:47
I'm trying to code a login system for a j2ee web app.Environment:Netbeans 5.5Sun Java Systems Application Server 9.0MySQL 5.0JDBCFORM-based authenticationInternet ExplorerFirefoxProblem:When the user tries to log in (username + password) he gets a 403 error (HTTP Status 403 - Access to the ...

Client certificate selection with JSSE

719 byte By gjkreefta at 2007-10-2 23:53:36
I have an application that connects to a SSL-server that requires client authentication. Depending on the type of interaction my client app has to choose one from several client certificates. To complicate things, I need to setup multiple connections concurrently, using a different certificate ...

Authentication

212 byte By proj@BEa at 2007-10-2 23:56:03
I'm developing an application where i need to login to the OS and access all resources for that user. Note that i can only get text message on the PC to be controlled. Please reply .....Thanks in advance.

Generate X509Certificate for JAX WS 2.0

4812 byte By Rocci2a at 2007-10-2 23:57:31
Hi,I tried the sample from jwsdp-2.0/xws-security/samples/jaxws2.0/simple-doclit and the updated keystore files from https://xwss.dev.java.net/.The sample works fine. But if I try my own certificates I get the exception "No X509Certificate was provided".So I think my certificates are not ...

Use j_security_check directly

1582 byte By efratba at 2007-10-3 0:00:40
Hi,I have a web application that is using j_security_check. (I have a login page, and login module and everything works fine).I have another application (Swing), that can invoke the web application.Since the user was already authenticated & authorized when entering the swing application ...

How can I encrypt the password using j_security_check?

1359 byte By efratba at 2007-10-3 0:10:42
Hi,I have two applications: a web application and a rich client application (Swing), both of them are using the same loginModule.In the rich client application, in the in the login dialog I encrypt the password before sending in to the loginModule, and in the login module I decrypt it.I want to ...

LoginFilter & j_security_check

5664 byte By efratba at 2007-10-3 0:13:02
Hi,I'm tryting to use a pre login filter for the j_security_checkI want to perform an action before the j_security_check is submitted, and I thought that this is the place to do it.When I undeploy my jar I get to the destroy method, when I redploy it I get to the init method, and right after ...

LoginContext.SecureCallbackHandler not UTF-8 friendly

853 byte By Jay_yana at 2007-10-3 0:26:49
I am using JAAS with JDK 1.4In my login page, if I enter a user name in East Asian characters, or other non-regular letters, like ? and when I debug my code:Callback[] callbacks = new Callback[] { new NameCallback("Username: "), new PasswordCallback("Password: ", false) ...

How to configure the applet use Kerberos authentication

854 byte By LostHuntera at 2007-10-3 0:27:19
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 ...

SSL question

2745 byte By lvguangchuana at 2007-10-3 0:31:05
Hi,ALLI am new to Security.One of my customer's public folder is ssl enabled.So when I use Java httpclient to build a connection with the public folder.https://server/publicIt throws and exception:javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: No trusted ...

Load class with restricted previledges

591 byte By anandaraja84a at 2007-10-3 0:32:49
Hi all,I would like to load a ".class" file using a code similar to:Class c = Class.forName("org.somepackage.TestClass");TestClass tc = (TestClass) c.newInstance();tc.run();1) I would like the instance of the TestClass to have restricted priveldges, less than the calling code. How can it be ...

Jaas authorization via KeyTab file is failing....!!!!

7221 byte By JCDentona at 2007-10-3 0:44:31
Hi all,i have a simple problem with the Jaas authorization via generated keyTab file. Used encryption was des-cbc-crc and associated SPN kerberos user has "Use Des Only encryption" checked. Preauthentication is disabled.My Jaas config file looks like:Jaas ...

JAAS image problem

1348 byte By JKJavaa at 2007-10-3 0:47:35
I am running a J2EE application on JBOSS container.I have configured JAAS authentication and it is successfull.<login-config><auth-method>FORM</auth-method><realm-name>Forutne ...

JNI and security

750 byte By almogavera at 2007-10-3 1:02:48
Hi,We are coding new functionallity on a legacy C code. We are using JNI to to comunicate to an opensource library.We faced with the need to create some files and to connect to a remote host, but due to the jvm sandbox we cannot operate as we need.We tried policy files, signed jars,... but ...

heuristic scanning

314 byte By mahmoodilyasa at 2007-10-3 1:03:29
hi all!i am working on antispyware.my problem is:how can i apply heuristic rules in my application?is there any api or some other thing , which can help me in the development of the programplz guide me in this regard, so i can proceed in my work.best ...

NT Password

238 byte By fr_unice_brunosa at 2007-10-3 1:49:21
Hello, I search library java to generate a nt password. This password will be the same in use the Crypt::SmbHash perl library : ntlmgen $password $nt $lm"Thank youfr_unice_brunos

JAAS and HTTPSession

432 byte By Jogesh_Kanojiaa at 2007-10-3 1:53:09
Hi,I am using SUN One Appserver 8.I had Implemented Realm in my web application.Every thing is working fine.I want to set some data in session in the Realm/ LoginModule Class, But i am not able to find any method to do this.Can any body help me out in this , and let me know how to set the data ...

Access rights in case of a tree-like structure, with inheritance

2242 byte By tomas.vondraa at 2007-10-3 1:56:29
Hello,the project I've just started to work on should include an easy way (from the user's point of view) to grant/revoke access rights on a tree-like structure with inheritance.Basically we are working for several international companies who want to use our application to watch/manage some ...

Data security concern while using JDBC

213 byte By Karuvelila at 2007-10-3 2:07:59
My java application connecting to a database to read patient information.Do I have to worry about encrypting the data? I am using oracle jdbc driver.Is there any chance, anyone can read the data on transit?

Good (unpredictable) session id generators ?

636 byte By solmyr72a at 2007-10-3 2:21:42
Hi,Could anyone please recommend how to generate good session ids ?(for a servelt container, generating http session IDs).We'll appreciate recommendations for either:- the algorithm - configuration parameters (such as what to put in Tomcat's "entropy" param)- good random number ...

developing IDS or honeypot using java

224 byte By imin83a at 2007-10-3 2:26:36
hi,i'm interested to develop either IDS or honeypot using java. i never heard of any java IDS or honeypot API, so it seems I have to start from the scratch, right? Can anyone here show me where should I start?

Multiple client authentication certificates

536 byte By scole250a at 2007-10-3 2:34:20
Our application interfaces with several vendors using HTTPS. One vendor issued us a certificate to authenticate us and we have successfully implemented the interface by setting the keyStore, keyStoreType and keyStorePassword System properties to use the pkcs12 file. How do you handle a ...