Kerberos Service Ticket error: KDC has no support for encryption type (14)

4706 byte By gwy1a at 2007-10-2 3:55:07
Hello, I'm trying to get a service ticket with GSS and I find the subject error. I have a code that works fine when the credentials are obtained with a JAAS callback, but the same code fails when I try to use the ticketCache. The TGT obtained from the cache has to be different from the one get ...

JAAS vs InitialContext authentication

1191 byte By sumun_ga at 2007-10-2 3:55:40
All,I'm using Weblogic's login module weblogic.security.auth.login.UsernamePasswordLoginModule for authentication using JAAS. Is there any difference in authenticating a user using this module and using InitialContext for EJB lookups?In other words,1.LoginContext loginContext = new ...

Help getting authentication=

3285 byte By AlfredTheGreya at 2007-10-2 3:56:06
Greetings,I could use some help with getting tomcat 5.5.12 to use Kerberos against Microsoft Active Directory.I have been using Ethereal to sniff the packets going back and forth from tomcat and I verified that with a normal server.xml entry (remove the authentication attribute keyword below), ...

does SSL or HTTPS has some length limitation ?

570 byte By kovtonba at 2007-10-2 4:00:15
Hei :)!!!I am using an https protocol in order to send in a safe way a contanance of a form which contains information like user credit card number, his details and etc.The problem is that when i am sending this form by HTTP protocol the form is being sent correctly, but when i am sending it by ...

WebSphere security problem

2191 byte By dremer1a at 2007-10-2 4:13:01
hi,I am working on websphere 1.1 - and my ear contains the was.policy with the following permissions:grant codeBase "file:${application}" { permission java.security.AllPermission;};My application creates a directory under the "appServer" home and then try to copy some files to this location.I ...

Found NTLM token when expecting SPNEGO(Weblogic8.1SP4 +Windows AD/KDC)

3307 byte By david.turinga at 2007-10-2 4:23:23
I have W2K ADS and KDC in one machine[TURING] and weblogic 8.1 SP4 running in anther machine[weblogic]. Have configured ADS and followed all the steps as given in the WLS8.1 docs(Configuring Single Sign-On with Microsoft Clients). Also enabled the security debug flags in config.xml. set the ...

X509 Subject Name

261 byte By stvva at 2007-10-2 4:30:30
Does anyone know how I can get the subject or issuer name from a X509 certificate. I know it's simple to get it as Strings, but I want them as byte arrays or something like that, which is suitable for getting the SHA1 or MD5 hash of it.Any ideas?

Problem: KDC has no support for encryption type (14)

4462 byte By david.turinga at 2007-10-2 4:34:40
hi, I have dealing the problem for long time and no response in bea forum.I feel very exhausted when checking mit's kerberos mailist and sun forum. Any try every method they provide but not success.first I generate the keytab using w2k's ktpassktpass -princ HTTP/weblogic.dlsvr.com@DLSVR.COM ...

Weblogic server (ASAP)

334 byte By eng_raara at 2007-10-2 4:34:57
Hi allllllllllllllllllllllllllllllllllllllll,i'm stuck in a quite small problem and need anyone's help.can anyone plz tell me how to set security parameters such as maximum no. of keepalive request and connection timeout under weblogic server(any version is ok)i need reply ASAP thanks for ...

Using deployment descriptor authentication

1306 byte By _strider_a at 2007-10-2 4:39:03
Hello, I'm working on a web application and want to have a login for anyone that accesses the service. Is it possible to use the deployment descriptor to implement security but using my own authentication method? What I want to do is something like this; have my web.xml similar to ...

Secure the class-file - Make decompile impossible?

552 byte By StrongSteve21a at 2007-10-2 4:41:21
Hi everybody!I have "basic" (?) question concerning Java-Class-Files.As our company is currently developing an Web-Intranet-Solution, we have to give the source-Code (class-files, jsp-pages and the jar-files) tio the customer.But our problem is, that we do not want him to be able to read the ...

Disable HTTP:// on Tomcat 4.1.31 with SSL turned on

222 byte By ebraun123a at 2007-10-2 4:46:11
Hello,I just turned on SSL on my tomcat server and it seems to be working properly. However, I am able to hit my application with the http:// and https://.How do I disable the http:// url?Thanks

LDAP connection close ?

84 byte By k_s_ashoka at 2007-10-2 4:48:07
How shall i close the LDAP connection ? I am using Netscape directory server.

password generator with System time as random value

256 byte By aparna_grka at 2007-10-2 4:49:11
Hello, I'm a complete newbie in this regard. I would like to know how to generate a password with the System current time as a random value?Kindly plz help. A sample code will be greatly appreciated.thanks in advanceappu

KDC response on KRP_AP_REQ

4681 byte By bacaa at 2007-10-2 4:50:10
Hello,I'm writing a client program and I'm trying to authenticate via HTTP negotiate. Server is SharePoint.I already acquire session ticket for KDC (TGT). I also have a session ticket for the server (Fabrikam1), but when I'm trying to authenticate on the server with SPNGO token and I always ...

Problem sending data with HTTPS using client authentication.

12484 byte By PAMa at 2007-10-2 5:14:03
Hi,I磎 tryingto send a message to a secure server using for this client certificate, apparently if I make a GET of "/" (server root) , everything works fine (authentication, and data received), from the moment that I try to ways send data to the "/pvtn " directory i obtain the following ...

java.lang.RuntimeException: java.security.AccessControlException: access de

130 byte By debugthisa at 2007-10-2 5:23:15
I receive this error message when I try to a file called "searchresults.xsql".Any suggestion on how to reslove this?

BufferedReader error on i.4

1580 byte By kav_madhua at 2007-10-2 5:52:21
Hi,I see following exception, when try to use BufferedReader to get the inputstream form the HttpsURLConnection object.Not sure if the handshanking is happening properly. The program is on jdk 1.5.0.Can anyone please help me figure out what is happening?java.net.ConnectException: Connection ...

How to secure a web form

620 byte By Banzinhoa at 2007-10-2 5:57:00
Hi!I need to verify that the person who is filling and submiting a web form, is the real person who says it is in the login (and that way he can not reject a transaction with his signature). Well i've been searching and I think that digitally signing "something" before the submit could help, ...

java.io.IOException: Integrity check failed java.lang.SecurityException:

758 byte By Mannava1977a at 2007-10-2 6:03:35
Hi,The bellow line of code causing problems. ks.load(fis, keystorePass.toCharArray());This is throwing errors / exceptions are like this.###################################java.io.IOException: Integrity check failed java.lang.SecurityException: Failed PKCS12 integrity checkingat ...

verify java signature with openSSL under PHP

1514 byte By Banzinhoa at 2007-10-2 6:04:04
Hi i need to verify a signature that was generated with java using openSSL under PHP.This is what I'm doing with no success: I'm generating a signature in Java with this code:Signature dsa = Signature.getInstance("SHA1withDSA", "SUN");dsa.initSign(priv);String cadena="string to sign";byte[] a ...

Tomcat 5.5 form-based authentication

3313 byte By Welles@Vancouvera at 2007-10-2 6:14:37
Hi all, I am trying to use the form based authentication in tomcat 5.5, but for some reason, the user never get authenticated (always redirected to the error login page). I suspect that it has something to do with the new changes in tomcat 5.5. Can anyone tell me if I miss something? Thanks in ...

SMTP server connections

529 byte By harmeetsinghbawaa at 2007-10-2 6:16:48
I have a doubt about SMTP server connections. I use a SMTP server to send out emails from our office here. Theres a java program to do this. If I send out this programs class file to other people, will they be able to use the same smtp server connection? do they need to authenticate to the ...

Cannot find any provider supporting DES

8356 byte By jborna at 2007-10-2 6:31:04
Can anyone help me understand why I'm getting this message.I'm running Tomcat from the eclipse workbench when I get the message. If I use the command line and start Tomcat via the bat file I do not get this message.I've tried using both the JDK and JRE both give me the same message. The only ...

How does a public/private key encrypt and decrypt each other?

483 byte By @GeneAnthonya at 2007-10-2 6:33:48
I understand the logic that when a communication takes place both parties pass their public keys to each other which is used to encrypt all messages. Once the party receives the messages the private key is used to decrypt them however I'm wondering how a private key is generated from a public ...

REGARDING SECURITY

562 byte By vivek.shankara at 2007-10-2 6:44:26
Hi !! I am new to security aspect of java and I am interested in knowing about the same.It would be great if someone could me clarify my doubts :-) 1) Supposing I am having a webpage, what kind of security can java security provide. Aprt from user name and password could it provide a additional ...

Debugging sun.security.jgss?

245 byte By KlausPa at 2007-10-2 6:55:31
Where can I get the source code for the JGSS API of sun (sun.security.jgss)?It isn't included in the standard JDK src.zip.It would be really helpful, because then you could fully debug into it.Greetings,Klaus.

PKCS11 - Change Token

2492 byte By BarbaraSchachnera at 2007-10-2 6:56:48
Hy!I'm quite new to PKCS#11 and try to work with Keys on Aladdin eTokens. In the Java PKCS#11 Reference Guide ( http://java.sun.com/j2se/1.5.0/docs/guide/security/p11guide.html) i found the following example and explanation:KeyStore ks = builder.getKeyStore();Key key = ks.get(alias, null);The ...

JCA SECURITY URGENT

592 byte By renameloa at 2007-10-2 7:09:22
My environment:Websphere 5.1J2EE 1.3JCA 1.0 (CICS ECI)J2EE security using local OS as user registry.I have an EJB running under J2EE security, so when it runs I already have credentials from a user who is logged in my application. This EJB invokes ConnectionFactory.getConnection() method to ...

Getting certificates from MSCertStore

127 byte By Zancanellaa at 2007-10-2 7:14:45
Hi all,i need to get certificates from MSCertStore from JSP Application or Applet... thankz for answers...

errors on TLS handshake

1621 byte By orzechowskida at 2007-10-2 7:22:27
I'm writing a Java applet which will communicate with a remote host over an encrypted connection. We want to implement a feature similar to the 'STARTTLS' command in SMTP, where a cleartext socket can be upgraded to a secure socket.I'm having trouble establishing the secure connection ...

Authentication good, Authorization bad

2091 byte By MicahGa at 2007-10-2 7:40:16
I have implemented the form based ldap authentication in SUN Application Server 8, which seems to be working. But, after the form accepts my password I then get a page that says: Access to resource is denied. I know that I am missing something with roles but I can not find it.I added the role ...

url-pattern in security-constraint

93 byte By javigsa at 2007-10-2 7:56:07
Hi!,There is some possibility to insert a /folder/*.extension in a url-pattern?

errors or exception in j_security_check?

169 byte By javigsa at 2007-10-2 7:56:10
Can I capture any error or exception in a error page with the j_security_check?For example, when the login, the pass or the role are failed.Thanks!!

using digestinputstream/digestoutputstream to ensure no tampering

2241 byte By JimWartnicka at 2007-10-2 7:57:38
I have a client server application that sends "messages" (serialized objects) back and forth to each other. I want to ensure that the messages sent have not been tampered. I would like to use SHA-1 with digestinputstream/digestoutputstream. 1) Does this work? I've seen examples of using ...

HttpSession Invalidate not working with WAS LTPA

886 byte By TheByteworksa at 2007-10-2 7:59:21
I normally handle site logout with a JSP that executes <% session.invalidate(); %> then redirects to the home page. Now I am running on WebSphere Application Server 5.1 authenticating against a Novell eDirectory LDAP server using LTPA and a SSL Certificate. Session.invalidate() does not ...

BASIC authentication

1921 byte By spear_arrowa at 2007-10-2 7:59:50
Hi, this is urgent: I'm having a few problems getting BASIC authentication working with 2 user groups. I want to restrict /admin/ to administrators and /profile/ to users and administrators:The problem is: I login with an admin account (inside the /admin/ dir) but i cant login into /profile/ ...

obfuscating java code

326 byte By think_in_javaa at 2007-10-2 8:00:34
Hi All,I am writing some encrypt-decrypt application and I want to know what is the proper way of obfuscating key for encryption-decryption in Java.Because of theintermediate byte code, it is simple to decompile the code and get the required key. Please let me know as soon as ...

How do I set up my own certificate authority

2750 byte By Ted_Byersa at 2007-10-2 8:08:18
I tried google on the above question, and the most recent thing I found was 7 years old. replacing the phrase used generates a lot of hits with a very poor signal to noise ratio.I have OpenSSL (in the cygwin distribution), which is quite recent, but frankly its documentation leaves just about ...

keystore error

250 byte By nely_whitea at 2007-10-2 8:09:43
I am trying to install and run Aglet but I am getting a message that keystore cannot be found. help me please.Java.io.FileNotFoundException: C:\Documents and Settings\Nene Kalu\.keystore <The system cannot find the file specified>

Files at LAN

122 byte By zahir.hashmia at 2007-10-2 8:11:06
cani use a java program to copyshared data (files)from LANis there any class /method can someone help

Problem in implementing digital certificate with weblogic 6.1

2161 byte By EagerJavaa at 2007-10-2 8:14:21
HIThanks to all for view and reply on my problem. This problem is really urgent for me.I m using verisign trial digital certificate for weblogic6.1.I have mildd1150-key.der as private keyAnd mildd1150-cer.pem certificate from verisignI have downloaded root-ca.cer from verisign and installed it ...

JCE clean room implementation for 1.5+

463 byte By zaphod.grankvista at 2007-10-2 8:19:03
Hello!Is there any JCE clean room implementations out there that doesn't do verification of signatures like SUN's jce ? I need to test write a provider and I do not believe it is possible for our company to get a sign certificate for our code directly from SUN. I have found out that bouncy ...

security tutorial

113 byte By dreamcatchera at 2007-10-2 8:35:14
Can any one provide me a good tutorial on java security.It should be in pdf format.Thanx in advanc.

java.security.AccessControlException

3273 byte By jazzachya at 2007-10-2 8:35:55
Right now I am trying to convert our application server from webLogic 8.1 to Sun Application Server 8.1. One of our ways of doing things in the past was to have an application.properties file that we read and loaded into System properties. It worked great on Weblogic.When trying to access the ...

Generating a secure link

907 byte By dev.samuela at 2007-10-2 8:36:23
Hi,OverviewMy request is part of a user registration implementation that I'm undertaking. When a user registers at the website, he/she is sent a secure link via email. Once this link is clicked, the account is activated.QueryHow do I generate unique secure links for each user, which once ...

unable to call using sip communicator

8098 byte By Prantia at 2007-10-2 8:38:55
i am using sip communicator.to run it i ve installed ant and jdk1.4 .also set the path.then i run the bat file of sip communicator and configure it also.bt i cnt established the call.thr is some errors.again i am using my sip server.its domain name is bangla.net.in the sip-communicator.xml file ...

Serve work beyond firewall?

171 byte By rubyyana at 2007-10-2 8:41:23
I am setting a PC to be a serve with firewall turn on.I can I allow other PCs to access the applet in the server through the server's firewall?Thx...

JAAS: Swing & Web implementation

741 byte By efratba at 2007-10-2 8:47:54
Hi,I want to use the JAAS mechanism in 2 applications: one of them is a swing application and the other is a web application.I would like to use the same interface for both applications.I implemented it in the "swing way": using my own callbackHandler, LoginModule & principals.I am using ...

How to show Certificate Content from IE

155 byte By wild_piga at 2007-10-2 8:48:49
Hi,how to show Certificate Content Window from IE. I dont like to write it by myself;).Does anybody know if its posible?Regards