Skip to Main Content

Java Security

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

CAS + SPNEGO + Auth error

756738May 10 2009 — edited May 13 2009
Hello experts,

I have the followin platform:
Tomcat 6.0.18
CAS Server 3.2.1
cas-server-support-spnego-3.2.1.jar
jcifs-1.3.8.jar
jcifs-ext-1.2.3.jar

I followed this guide to install CAS SPNEGO:
http://www.ja-sig.org/wiki/display/CASUM/SPNEGO

I was succesfuly able to generate ticket with Java:
C:\Program Files\Java\jre6\bin>klist -k
Key tab: C:\Tomcat\webapps\cas\spnaccount.keytab, 1 entry found.
[1] Service principal: HTTP/lab-adm-01@LABTST.NET.IL
         KVNO: 3
C:\Program Files\Java\jre6\bin>kinit RomanLi@LABTST.NET.IL
Password for RomanLi@LABTST.NET.IL:
New ticket is stored in cache file C:\Documents and Settings\idm\krb5cc_idm
C:\Program Files\Java\jre6\bin>klist
Credentials cache: C:\Documents and Settings\idm\krb5cc_idm
Default principal: RomanLi@LABTST.NET.IL, 1 entry found.
[1]  Service Principal:  krbtgt/LABTST.NET.IL@LABTST.NET.IL
     Valid starting:  May 10, 2009 15:14
     Expires:         May 11, 2009 01:14
C:\Program Files\Java\jre6\bin>
 
But when I try to authenticate using CAS this is what I get an error.

Any ideas what's wrong?

R

Comments

Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Jun 10 2009
Added on May 10 2009
15 comments
3,120 views