jaas user home....

89 byte By te0543a at 2007-10-2 0:16:04
After login(),how to get user;s home folder info?Login user's home folder.

JKS or PKCS ?

697 byte By Felipe.Gauchoa at 2007-10-2 0:19:02
Dear friends,I磎 trying to access a safe server through Https. The connection algorithm and all handshake stuff is done, already tested in a local server.The problem is:I磎 trying to access a IIS server with a certificate generated through the MS certsrv web page, with the following ...

need access levels to access database

513 byte By dharammaa at 2007-10-2 0:21:32
hi ,i am doing project with jsp in ms-access database. this webapplication should be accessible to 10 people. all should be view the data but levels should be there.how can i get the access levels to the database like reading access to some 2 people. writing and modifying access to some 5 ...

Dealing with KeyStore larger than available memory.

530 byte By njda at 2007-10-2 0:26:11
Hi,I'm manipulating a JCEKS/SunJCE KeyStore that has grown larger than available memory on the machine. I need to be able to quickly lookup/create/and sometimes delete keys. Splitting into multiple KeyStores and loading/unloading based on which one the particular request needs isn't ideal. ...

How to convert a GSSCredentialImpl to KerberosTicket

643 byte By mivz@spugium.neta at 2007-10-2 0:27:29
I'm trying to use a forwarded Credential in jGSS for authentication. The problem is, after forwarding I get A GSSCredentialImpl and what I need is a KerberosTicket. The toString info of the GSSCredentialImpl is almost exactly the same as the KerberosTicket. So the data is there. But how sould ...

java.security.ProviderException: unable to parse algorithm params.

178 byte By itsmehandya at 2007-10-2 0:33:40
java.security.ProviderException: unable to parse algorithm params.Anyone any idea how to get around this problem? Is it something to do with the java.security file?

using a PKCS12 key to sign my Java application

294 byte By Felipe.Gauchoa at 2007-10-2 0:34:24
Dear friends,how can I use a PKCS12 key generated by an external tool to sign my Java application ?I磎 trying to use the keytool - is it possible ?obs: I can easly sign the application with a key generated by the keytool.... the problem started with that external key

Urgent: JAAS authorization policy file

592 byte By Kanan.Mammadlia at 2007-10-2 0:37:15
Hi. I just decided to implement JAAS technology in my 3-tiered application. I did authentication, but can not beleive that the only way to specify authorization is to place all grants in one ore more text files and specify this(ose) file(s) in batch file running my application. I do not think ...

Need help with contacting HTTPS URL

5369 byte By mathewronda at 2007-10-2 0:39:32
Hi,I am new bie to Java Security. I do not know where to start off with. Here is the requirement.I need to contact an HTTPS URL and this URL gives me output which is encypted data.I have to save this ecnrypted data into a file and I have the KEY to decrypt the data.I have tried several ways ...

Need help with contacting HTTPS URL

8518 byte By mathewronda at 2007-10-2 0:39:34
Hi,I am new bie to Java Security. I do not know where to start off with. Here is the requirement.I need to contact an HTTPS URL and this URL gives me output which is encypted data.I have to save this ecnrypted data into a file and I have the KEY to decrypt the data.I have tried several ways ...

Problem doing an SSL bind to Active Directory w/new cert

811 byte By theCheshireCata at 2007-10-2 0:42:46
Hi,The windows sysadmin had a problem with the certificate authority and had to rebuild it and then re-issue all the certs. I got the new authority's public key, but now when I try to bind to Active Directory, I get the following message:javax.naming.CommunicationException: simple bind failed: ...

Beginner question about preventing file access

919 byte By cep21a at 2007-10-2 0:43:29
I want to run a class file with the absolute minimum of security rights. Mostly, I don't want it reading/witting files I don't tell it and I don't want it opening sockets. My command is this:"C:\Program Files\Java\jdk1.5.0_04\bin\java.exe" -Djava.security.manager ...

Folder accessing

280 byte By Jangida at 2007-10-2 0:45:42
hello i want to protect th e folder so no one can open it so i need some api than access forlder attribute to lock it i made a s/w that locks the images with password and set correct password to see image. so i want to lock folder also so any api is there to access folder.

JAAS configuration save to file

331 byte By ntsronnya at 2007-10-2 0:50:51
Hi,I have a configuration file and with java Configuration object I read the jaas configuratino from the module. Then I change the configuration in program and now I want to save It back to the file. Is there any possibility in java to make this easy.I hope somebody can help me.Thanks, ...

GSSAPI How to get a "Service Token"

841 byte By alex_screen_2004a at 2007-10-2 0:57:36
I need some help to figure out how to get a service ticket from a KDC. Suppose I have a service ,SRV1 (not necessarily kerberized), and I have also a keytab assign to it created by Heimdal. This keytab file contains an long term shared secret key between the KDC and SRV1 YES ? Now suppose the ...

Capturing User Passwords in Web Apps

1064 byte By grperrya at 2007-10-2 1:05:59
I am trying to find a way of capturing a user's password so that I can have the user login to one of my web applications (which acts as a client), and pass it to a second application (which acts as the server).I know that I can retrieve the user from the ServletRequest using ...

Public/private keys, and certificates... how it works?

971 byte By obirenokenobia at 2007-10-2 1:15:40
Hi! I need a bit of light in one issue. I know that when I create a certificate using keytool -genkey, a public/private key pair is created along with a certificate, which are all stored in the .keystore or a file that you specify.Now, if I want that someone "sign" (or crypt) a file for me, I ...

secure properties file

507 byte By aoliasa at 2007-10-2 1:17:15
Hi,We have a GUI application deployed in a jar file. That application reads a properties file to connect the data base and other settings.That file has to be encripted, because the end-user cannot read the content of the file.So the key to decrypt the file has to be embeded in the code. But ...

Signature verified under JRE 1.4.2_07, but not above (inc. 1.5)

4201 byte By Craig_Pugsleya at 2007-10-2 1:18:05
We have been signing some text as part of our product for a while now, and it has never caused us a problem before. However, it would appear that upgrading from JRE 1.4.2_07 to anything above this version (including 1.5) has broken the verification of our signatures...Currently we use the ...

How to avoid written password as plain text ?

436 byte By paparajotea at 2007-10-2 1:22:41
Hallo,I wrote a java application that runs standalone (without app server) at server side, and make a JDBC connection. User and pwd are read from a property file.Is there any way to avoid wrtting the password as plain text in the property file ?The DBA may change the pwd at the DB, but should ...

probs with cipher

1759 byte By --jubs--a at 2007-10-2 1:22:52
HiI created a keystore that generated a DSA pub/Pvt key of keysize1024.I then retreived the public key for encryption using the the following codeCipher cipher = ...

WSSE4J - verifying signature problem

1003 byte By ania_a at 2007-10-2 1:27:46
HiI have a problem with configuring axis web-service client so that it can get and verify the soap-envelope signature. All I found on wsse pages is the example client-deploy.wsdd file. Part that is responsible for the signature things looks like that:<handler ...

jaas tomcat auto login

250 byte By stephemra at 2007-10-2 1:29:17
I have a webapp running Struts, Tomcat 5 and JAAS. After a userregisters on my site they then verify their e-mail through clicking alink. How can I get them to be automatically logged in after clickingthat link using JAAS?

set off the echo in dos prompt

205 byte By tutti_fruttia at 2007-10-2 1:29:34
hello, i'm writing a java application that read user name and password from a msdos console, it is possible to make the password input invisible or looks like that ****** , please it is kind urgent

**** this cipher!!!

775 byte By --jubs--a at 2007-10-2 1:29:37
I first tried public/private keys generated by DSA for assymetric encryption buy using Cipher class. But that didn't work out and ghstark pointed out that sun doesn't support encryption with DSA and adviced me to try out RSA.So I tried RSA and everything is woking out fine. But now i want to ...

Retrieve private key in MAC OS X

640 byte By TomasMara at 2007-10-2 1:30:41
Hello,I would like to retrieve a private key from KeyChains, in MAC OSX Tiger, and later, do an RSA signature with this key. In Apple JDK 1.4.2 , the KeyStore class now access to KeyChains data. This is true, because I can list and read all certificates of the Keychains. But when I try to ...

Cipher : advantages amd disadvantages

228 byte By anupkudalea at 2007-10-2 1:40:59
hiI want to know the advantages and disadvantages of Cipher. I am working on it but dont know much.also help me to know more about Cipher through documents.Please do needful.ThanksAnup K

Single Sign on

569 byte By Vibhor_jaina at 2007-10-2 1:47:29
Hi,I am looking for a single sign-on solution for Tomcat platform. This solution should work on Active Directory-Internet Explorer 6-Tomcat 5 combo.The requirement is - When a user requests a certain page from his browser, the web server must be able to identify the (active directory domain ...

SSL Something to do with IP and DNS ?

777 byte By v701005a at 2007-10-2 1:51:15
Friends,I'm not certainly clear, if this could be a better forum, But still most of the web developers are with java and have to come across security measures.Okay, My issue is here >I'm getting something strange here,may be if I'm wrong please correct me.All i'm going to talk is about ...

Want to extend java.security.cert.X509Certificate

359 byte By saugeila at 2007-10-2 2:02:41
HiMy application creates certificates. At the moment I'm using Bouncycastle. Now I want to create the certificates without using org.bouncycastle.x509.X509V3CertificateGenerator. What things (attributes) do I need to set in a X509Certificate in order to communicate via SSL? Which methods of a ...

Digest Authenticated HTTP Relay

2272 byte By joewlarsona at 2007-10-2 2:03:16
Hello,I have an HTTP client authentication which I do not have source for but provides some crucial webservices functionality. However, it does not support authentication in any way (it is in beta phase). I have to if possible begin working with it before it will have authentication built ...

RBAC - java implementation

365 byte By Neeru_Punia at 2007-10-2 2:10:01
Hi,I have a simple java application where i want to use the rbac i.e, a user can have multiple roles and his access to various application functions will be based on his role. What is the best way to implement it in Java? Is there any code snippet avilable?Waiting for replies as i need it ...

EJB security question

610 byte By asedwella at 2007-10-2 2:21:55
Hi all,I'm looking for a bit of advice. We have a J2EE application we have written, and are considering hosting such that we can give access to external clients. Our server hosts some EJBs and the GUI is a Web Start client. The user enters some data on the client and it is sent to the EJB ...

Certificate Parsing Errors when Parsing certificate with CRL Distribution

2835 byte By vbj75a at 2007-10-2 2:29:36
Hello,I have a class that parses the Base64 representation of an X.509 Certificate using the following code:CertificateFactory cf = CertificateFactory.getInstance("X.509");bais = new ByteArrayInputStream(certBytes);cert = (X509Certificate) cf.generateCertificate(bais);Generally, this code works ...

login authentication (FORM Based) using jakarta-tomcat-5.0.28 - Need Help!!

6420 byte By mohamed_jaleela at 2007-10-2 2:48:38
Hi,I have configured my application for login authentication (FORM Based) using jakarta-tomcat-5.0.28 (Eclipse 3.1). With my configuration I don抰 have any issue to get into the login page, but upon key-in the user-id and password, its not get authenticated and its going to AuthError.html page ...

JAASRealm on Tomcat: Principal-to-Role-Mapping works, Access denied

2863 byte By Korgulla at 2007-10-2 2:53:45
Hello!We are trying to implement a login/security environment using Tomcat 5.5's JAASRealm and Struts as a MVC-Framework.After Login ,which fails with error "HTTP Status 403 - Access to the requested ressource has been denied", we can navigate manually to our output.jsp and use ...<%= ...

Unanthorized Acess Error - login authentication (FORM Based)

7029 byte By mohamed_jaleela at 2007-10-2 2:54:44
Hi,I have configured my application for login authentication (FORM Based) using jakarta-tomcat-5.0.28 (Eclipse 3.1). With my configuration I don抰 have any issue to get into the login page, but upon key-in the user-id and password, its get authenticated and its immediately redirecting to ...

JAAS and the Servlet Specification

2875 byte By daveclaya at 2007-10-2 2:55:41
HiI'm an Application Developer attempting to create a web application compatable with the J2EE web component specifications. This means that my security is declarative in the web.xml through security-constraints mapped to the logical roles that my application defines.This allows me to make my ...

pkcs#11 certificate does not appear with Tomcat / IIS ok

939 byte By CJra at 2007-10-2 3:00:24
Hi all,I am trying to use SmartCard client authentication (pkcs#11, JDK 1.5.0_3, SafeSign for Starcos 1.0.9, SCR531 card controller, Tomcat 5.5.12 with clientAuth=true). When I access the protected site, the browser plugin (which is installed by SafeSign) shows a window that allows to choose ...

Is there ANY way to get a signed certificate for a cert created by JSSE?

858 byte By darrinpsa at 2007-10-2 3:01:35
We have tried to send Verisign certificates generated using JSSE, but they complain that the certificates are corrupted. After several conversations with them, we believe that the problem may be that not only do they require the key algorithm to be RSA, but they also require that the signature ...

password generator

118 byte By yanis97a at 2007-10-2 3:07:46
Hi;I would like to use a effective password generator (in java) without GUI (batch mode).Regards;

how to check in custom Permission class the package name of the code being

242 byte By Luke_Matuszewskia at 2007-10-2 3:13:55
Question like in topic ;-) waitin for answer !Do i have to write my own SecurityManager ? Or maybe someone had written it ? Please respond... for me it is very necessery :)Best regards...Student form Poland.

CA tool and Java Certification Path API

609 byte By Somayaa at 2007-10-2 3:16:22
Hi,I want to use a free Certificate Authority tool to issue signed certificates that are then to be used with the Java Certification path API in order to create verification paths and validate it. I intend to install this CA in multiple sub-systems that exist in a large system (some ...

access denied exception

908 byte By cherrynanaa at 2007-10-2 3:16:41
hello all,iam new to java please help me .my program has thrown the exception:java.security.AccessControlException: access denied (java.io.FilePermission F:\read)using applets a dynamic jtree should be displayed.when a user clicks a node a file should be retrived and display the directories and ...

Any Kerberos implementation in Windows XP?

870 byte By JSTigera at 2007-10-2 3:25:50
I am new to Kerberos, I am trying to run the gss kerberos shipped in JDK 5.0. Looking at the Kerberos requirement section, I am seeing this"In order to run the sample programs, you will need access to a Kerberos installation. As described in the following sections, you may also need a krb5.conf ...

Single-Sign-On in a client server system.

1964 byte By JSTigera at 2007-10-2 3:34:18
We are designing a client server system, and we are running into a single sign on problem.Basically, a client's requests are served by many sockets, although the client doesn't know its requests are served by multiple sockets. For every socket, the user identity has to be authenticated via ...

Simple Scurity Questions

3583 byte By Curtis_Pastorea at 2007-10-2 3:34:26
Simple Security QuestionsFirst a little background ...I am a recent college graduate on my first job in a startup financial investment company. I am one of three employees thus far and I act as the IT guy / Network Administrator / Software Developer. I make Java programs to generate reports and ...

How to use Entrust with java application on unix platform

483 byte By Shailesh.Koradiyaa at 2007-10-2 3:36:51
Hi all,i have question regarding the use of Entrust with java application on unix1)I want to use Entrust for encryption/decryption of the file in my core java application on unix platform.What should be requiremnet for the same and how it is implemented?.2) I want to Use Entrust for ...

Applet security

733 byte By pausana at 2007-10-2 3:41:14
Hi!I am starting to get frustrated. I have created an applet that reads words from a textfile during runtime. However, thew Security Manager doesn't give me permission to access the textfile, even though I have tried to change the content of the java.security and java.policy files. I added the ...

Jarsign with smartcard

2064 byte By q8989989a at 2007-10-2 3:44:31
I'm trying to sign a jar file using jarsigner and a smartcard.Here is the output fromkeytool -keystore NONE -store type PKCS11 -list -v:Keystore type: PKCS11Keystore pZvider: SunPKCS11-SmartCardYour keystore contains 1 entryAlias name: 005578_Local_244055191934Entry type: keyEntryCertificate ...