Recent update: 2008-5-9

Special char

852 byte By calimoxoa at 2008-3-5
Hello,I'm trying to authenticate a user against Active Directory with Java. It works well but when i'm trying to use special characters (like ? ? ? in the password, the kerberos logon fails. Do i have to encode my string in another format ? Does kerberos support these char ?The code: public ...

Problem incorporating Single-Signon Using MS Active Directory

2157 byte By harveyFa at 2008-3-3
Hello:I am using j2sdk1.4.2_07 and attempting to incorporate single-signon. There is a very nice article describing all of the steps necessary @ http://e-docs.bea.com/wls/docs90/secmanage/sso.htmlMy problem is at the final step which uses the kinit utility to verify Kerberos authentication is ...

Kerberos authentication for RMI clients?

413 byte By kapilgupta77a at 2008-3-1
Hi,How can I use Kerberos authentication for my RMI clients? I have exposed my remote APIs and the clients should authenticate themselves and pass their security context before each call. Is there any example, tutorial available for this? The example given in Java SDK demonstrate message ...

Integraing java web appliaction wioth JOSSO

454 byte By Kishorea at 2008-2-22
Hi,Am using JOSSO and very new to this technology. I followed the steps as given in the guidelines page.After configuring my application, when executing am getting a message like this "Invalid Authentication Information" . I dont know why it is displaying this error.I followed exactly the ...

Pre-authentication information was invalid (24)

5572 byte By JCDentona at 2008-2-22
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 ...

SSO via Java in a MS world AD (ActiveDirecory and IE)

1572 byte By henoc.aa at 2008-2-20
Hi every one,I come to redefine my previous post, maybe I wasn't clear enough,that's why i seem to get no help...do some of you know how i can decode and handle myself SSO with AD ?To be more precise , I've already setup an clean config :An AD server (W2K3) on comupter "Main",an host for my ...

GSS-Kerberos authentication failure:Identifier doesn't match expected value

3488 byte By kapilgupta77a at 2008-2-11
Hi,Am trying to use Java GSS Api(JDK 1.5) to perform kerberos authentication on a Windows 2003 server. Am following the steps specified in JDK docs.Am receiving following error while calling login on LoginContextDebug is true storeKey true useTicketCache false useKeyTab false doNotPrompt false ...

how to use mysql as kerberos database?

419 byte By Sudhir_nimavata at 2008-2-10
Hi.... Im trying to develope SSO solution for our portals..... i found, currently on windows environment only Active Directory. can be used as kerberos database.... but our users profile are stored in my sql database.. is it possible to use kerberos to authenticate users again mysql ...

HELP!! "Checksum failed" & "Integrity check on decrypted field failed "

8972 byte By yulu81a at 2008-2-7
I hope this is a newbie question for you guys out there since I've been googling for a solution for days but no luck so far. I am trying to learn JAAS programming and got started from a very simple example where a client authenticate to kerberos and send messages to a echo server. I am using ...

why checksum failed comes , if AD and webserver are in different machine

591 byte By srini.ammaia at 2008-2-7
Hi, Actually i have created a web application uses GSSAPI(java1.6) . Implemented SPNEGO in the web application.. But the problem is , if AD(Active Directory windows 2003) and webserver (tomcat) is in same machine, my application is working properly when i browser through the IE. But the same ...

is there any example malicious code avaliable?

257 byte By Madjessiea at 2008-2-6
dear all,can i ask u to do me a favor to help me find a part of example malicious source code that is still able to execute despite Java抯 security measures cause i need it as a example in my report. i can't find any on google. thanks so much.

mod_auth_kerb and Kerberos

541 byte By VidyaVa at 2008-2-4
Hi, I currently have Apache 2.2.4 with mod_auth_kerb 5.3 running on Linux. I followed the instructions in http://www.grolmsnet.de/kerbtut/ to setup authentication against windows 2000 as KDC. I also configured IE to support SPNEGO so that i can do transparent authentication. Everything works ...

Kerberos & jcfis

1562 byte By deveshRanjana at 2008-2-2
I am developing a single sign-on module for our company's Intranet site. I am using jcfis extended version, which supports Kerberos authentication. It requires a krb5.ini file in c:/winnt directory. I am using AuthenticationFilter class which will autheticate a request. I have Tomcat on my ...

Kerberos Security

310 byte By DanDia at 2008-2-1
Please, I am beginner with respect to the kerberos protocol and have some doubts of its use:1) Is Kerberos security suitable for financial applications?2) What are the advantages of kerberos with respect to SSL?3) Does Java provide full support for kerberos?Thank ...

How to pass kerberos ticket at api level?

868 byte By kapilgupta77a at 2008-1-28
Hi,Am relatively new in the domain of Java Security, JAAS and JGSS. After reading the tutorials and examples, I was able to do authentication and message transfer using Kerberos LoginModule. All the examples demonstrates message transfer and credential passing at socket level.But in normal ...

KDC has no support for encryption type(14)

532 byte By Eaglesa at 2008-1-27
Hiii, i am trying to search my ldap, i am able to connect using kerberos, butwhen i perform ldap serach i am getting the below error messagejavax.naming.AuthenticationException: GSSAPI [Root exception is javax.security.sasl.SaslException: GSS initiate failed [Caused by GSSException: No valid ...

AD Kerberos Ticket authentication

2421 byte By joseDeva at 2008-1-26
Hi,I have a pair of questions about authentication/validation of Kerberos tickets against Active Directory.I needed to validate a Kerberos Ticket obtained in a login to an Active Directory. I have done so with the next steps.a) I have modified the Krb5LoginModule so as to create the Credentials ...

Transferring SPENGO token via a web service call or a servlet

1044 byte By SecurityTyroa at 2008-1-25
Hi,In the examples I have seen, a SPENGO token is transferred from client to server via sockets. Once the token is obtained,GSS-APi calls like the following can be called to extract the userIdfrom the SPENGO token. In the code below,innerContextToken would be obtained after some socket based ...

Welcome to...

381 byte By cotton.ma at 2008-1-25
<h1>My Web Page</h1></td></tr></span></table></td></tr></span></table></td></tr></span></table></td></tr></span></table></td></tr></span></table><h1>This ...

UTF-8 data handling by GSS

326 byte By sidsa at 2008-1-21
We have a setup with windows2000 and Kerberos/JGSS. Can someone provide me with the information as to what additional needs to be done so as to be able to authenticate a username given in UTF-8 data. The user authentication for ascii characters succeeds for me but fails while I enter usename ...

get User name

309 byte By prabodyaa at 2008-1-13
Hi All,I have configured mod_auth_kerb with apache. After kerberos authentication I am not able to get user name that is authenticated.In Apaches error log file the name of the user got printed.Can anybody tell me how to get it?Please guide ...

only existing users: Pre-authentication information was invalid (24) error

1261 byte By Farmington1965a at 2008-1-13
Our application is java based, and we use JAAS to allow authentication for the users though Active Directory.In particular we alwyas encourage our prospect clients to use Krb5LoginModule.We would1. add new user to AD , set DES for the account, reset the password2.setspn -A ...

SOAP security header causes JGSS Kerberos login to fail ?!

1130 byte By Steve8000a at 2008-1-13
Hi guys,I had a similar post in this subject before. Though got no reply. I guess the question was not clear. I could trace the prblem a bit more .. Any clue to help me find the source of problem is really appreciated !I have developed a client and a web service ( Axis 1.4 + tomcat 5).Client ...

Krb5LoginModule with useTicketCache=true on Vista

6069 byte By chiodoniaa at 2008-1-12
I've to port a Java SSO client (working correctly on W2K) on Vista.Dispite having set allowtgtsessionkey on Vista, the client seam not to be able to acquire the session key. With a network sniffer on the client I get:No.TimeSourceDestinationProtocol Info1713 6.357615138.191.82.26 10.168.24.44 ...

kinit: KRB5 error code 52 while getting initial credentials

1371 byte By nub99a at 2008-1-10
All,I'm getting the following error on a Solaris 8 machine:kinit: KRB5 error code 52 while getting initial credentialsSo far my analysis shows this error to indicate the following:0x34 - KRB_ERR_RESPONSE_TOO_BIG - Too much dataAccording to a number of forums, some inheriant limitations exist ...

Integrated Windows Domian Authentication ?

326 byte By mahesh.komuravellia at 2008-1-9
Hello Dudes,Can anybody tell the way how to develop an application with integrated windows domain authentication ? (By using Java)Help appriciated.And i don't know is it the correct forum to post. If it is not correct forum please reply me with links to the correct forums.Thanks in ...

Kerberos windows desctop SSO

726 byte By Laurtsa at 2008-1-9
Hi!The problem is in web application.The customer claims that this is not Kerberos implementation when the user has to write thery username and password by opening the web page.The problem is that there is more than 500 users whose browser should be modified. And customer does not accept the ...

Message stream modified....Cross-realm authentication problem?

3718 byte By eero_a at 2008-1-9
My simple program: public static void main(String[] args) throws KrbException, IOException {Credentials c = Credentials.acquireDefaultCreds();System.out.println("default creds: " + c);Credentials s = Credentials.acquireServiceCreds("HTTP/test.xxx.xx", c);System.out.println("service creds: " + ...

Extracting PAC from AD-generated ticket

713 byte By alec_gilchrista at 2008-1-8
I want to pull the PAC out of AD-generated Kerberos credentials.1) Do I need to obtain a KerberosTicket, which I then examine as an ASN.1 encoded byte array, or is there an easier way?2) If I want to get a KerberosTicket on the server side, after a client has juggled contexts with me, how do I ...

Sending and receiving tokens

213 byte By alec_gilchrista at 2008-1-8
Are the tokens generated by context processsing shippable/receivable without any modification?Are the tokens compatible with the tokens processed/created by the MSFT equivalent of GSS-API?Alec

IOExceptionjava.io.IOException: Server returned HTTP response code: 401

2528 byte By rmanea at 2008-1-7
Hi,I am trying to read a file from the remote http location using the following program.import java.io.BufferedReader;import java.io.IOException;import java.io.InputStreamReader;import java.net.Authenticator;import java.net.MalformedURLException;import java.net.PasswordAuthentication;import ...

No kinit/klist in Java 1.6 under Linux

327 byte By Lantoa at 2008-1-5
Hi all,I'm facing a problem : the kerberos related utilities (kinit/klist/kdestroy) have disappeared since Java 1.6, and only under Linux. In a Windows installation, there's no problem.My question is : how can I replace now these utilities ? Is it a bug in the JDK or JRE installation package ...

What purpose has Java GSS? What do I need it for, SSO?

894 byte By Santacruzshoresa at 2008-1-5
Hey,I am working on a single sign-on solution for smart clients (written in Java). Kerberos authentication with JAAS works fine, but what is the Java GSS API for? That - according to some Tutorials like "Single Sign-on Using Kerberos in Java" - is supposed to be executed in the Subject's doAs ...

Single Sign On using Kerberos and Active Directory

5057 byte By michael_623a at 2008-1-4
I am attempting to write a proof of concept of Single Sign On using Kerberos and Active Directory.I have searched through these forums and found several suggestions which I have attempted to use, in fact my code snippet below comes from these forums.I have set the registry setting ...

How to get valid Kerberos ticket without using TicketCache and Password

3246 byte By Prakash_Selvaa at 2008-1-4
Hello, I am implementing Single Sign-on feature using Kerberos in Java.Ours is a web based application. When user opens application using browser, it sends windows username to Web server, the Web server should try to get valid KerberosTicket for this user and if the ticket is valid the browser ...

various reporting tools

171 byte By rajschintapallia at 2008-1-3
Hi all, I want to know various reporting tools which are downladable , fast and can save in pdf,csv,xml,doc,xls formatsCan any one give me the answers

SPNEGO (No valid credentials provided)

9158 byte By technoplaguea at 2008-1-3
Hello!I am trying to integrate kerberos SSO into weblogic platform.Doing exactly as it is described here - http://dev2dev.bea.com.cn/techdoc/20060621823.htmlMy jaas config:com.sun.security.jgss.initiate {com.sun.security.auth.module.Krb5LoginModule requiredprincipal="HTTP/wl.dev.org@DEV.ORG" ...

Kerberos Configuration Issues: Server prompts for password

4415 byte By Tom_Sciora at 2008-1-2
I'm trying to write a Java Servlet Filter to perform kerberos through Spnego. I'm working with a windows 2003 Server (Enterprise Edition) but I keep getting prompted for the password. This obviously won't do for a server program so I'm trying to figure out a way around entering the password ...

Destroy Kerberos ticket

209 byte By Laurent_Grangiera at 2008-1-2
Hello,Is there an way to destroy an existing Kerberos ticket with Java 1.6 ?I need to do multiple access to the same server but with different authentification.Thanks,Laurent

Negotiation data format !

2255 byte By munumberonea at 2008-1-2
Hi experts !I use Basic Authentication with ISS + Tomcat. I want to get user information from request.getHeader("Authentication") in a servlet. I have decoded it by Base64 coding. And I have following content:Negotiate ...

Server not found in Kerberos database (7)

4014 byte By SecurityTyroa at 2008-1-1
Hi,I am trying to run the GSSClient/GSSServer example in the JAAS/JGSS tutorial. In the tutorial it says "So for the purposes of trying out this tutorial, you could use your user name as both the client user name and the service principal name. "As I dont have permissions to make modifications ...

Any restrictions on CA certificate for GSS authenication?

874 byte By RALIIYAMAa at 2007-12-30
I use the following code for client authentication but it fails to authenticate the CA certificate.protected synchronized void authenticateClient() throws IOException, GSSException {byte [] outToken = null;byte [] inToken = new byte[0];while (!this.context.isEstablished()) {outToken = ...

Consuming windows generated SPNEGO token

169 byte By SecurityTyroa at 2007-12-30
Hi,Could some kind soul point to a java code sample illustrating the consumption of a SPNEGO token generated by a windows client ?ThanksRaman

KrbSaveCredentials

367 byte By prabodyaa at 2007-12-29
Hi All,I am facing one problem.In my httpd.conf file I set KrbSaveCredentilas flag to ON. After successful authentication it should generate /tmp/krb5cc_usernamebut in my case it is generating /tmp/krb5cc_0.I am not able to understand why this is happening?please guide me.Thanx in ...

What does failure unspecified at GSS-API level mean?

294 byte By yilativsa at 2007-12-27
Hello,Trying authenticate with Kerberos I receive exception message :Failure unspecified at GSS-API level (Mechanism level: Integrity check on decrypted field failed (31))Does any body know what leads to this problem and how to fix it.Regards,Vitaliy S

TGT in cache and Krb5LoginModule

148 byte By pvncada at 2007-12-27
Hi,Will Krb5LoginModule verify the authenticity of TGT in the ticket cache ?If yes, how it will do it ?Thanks in advance

Does Krb5LoginModule module support DNS based lookup of KDC ?

254 byte By pvncada at 2007-12-26
Hi,I am trying to use kerberos based authentication. Current setup of kerberos uses DNS based lookup of KDCs .i.e KDCs are not listed in krb5.conf file.Could someone let me know if can this be achieved ?ThanksPraveena M

GSSName is corrupted for non ascii chars

1494 byte By s_jayaram_sa at 2007-12-25
Hi, I have a setup where a web application is deployed to use SPNEGO for user authentication ( using kerberos V ) and authorization. We have several users with non english characters in the user ID and even though kerberos authentication succeeds for such users ( KDC / Active Directory is ...

About Single Sign On

563 byte By deveshRanjana at 2007-12-24
Hi all I am developing a single sign on module for my company's Intranet site. The concept behind it is, when any employee will open the Intranet site, the user will be authenticated using his own window login and password without filling any Login form. It means users authentication will be ...

Help required: confusing buss words on single sign on

719 byte By j2ee_balaa at 2007-12-22
Hi,My company wanted to implement SSO for interanet web application. I had went through GSS-API using kerberos API. But the security team told that for kerberos authentication firewall port needs to be opened . They suggested for SAML. I went through SAML specification. It specifies the message ...