Thank you all for the quick reply.
I still can't get this working.
Here's the login file:

 com.sun.security.jgss.krb5.initiate {
               com.sun.security.auth.module.Krb5LoginModule required
                             debug="true"
                   doNotPrompt="true"
               useTicketCache="true"
                     ticketCache="/Users/swithana/krb5cc_swithana"
  };

my full class : http://pastebin.com/b5jnAuYZ

thanks again for the help!


On Fri, Feb 21, 2014 at 2:06 AM, Atsuhiko Yamanaka <y...@jcraft.com> wrote:

> Hi,
>
> Mr. Borislav Stoichkov had kindly replied to the that message,
> but it seems that the mailing-list system at sf.net has rejected it.
> # I don't know the reason for it, unfortunately.
> Anyway, please allow me to post it here on behalf of him,
>
> > From: Borislav Stoichkov <b...@meanstream.org>
> > To: Sachith Withana <swsach...@gmail.com>
> > Cc: "jsch-users@lists.sourceforge.net" <jsch-users@lists.sourceforge.net
> >
> > Date: Fri, 21 Feb 2014 00:01:33 -0500
> > Subject: Re: [JSch-users] Kerberos Jsch Help
> >
> > Hello Sachith
> >
> > The login.conf configuration file contains the GSSAPI/Kerberos
> parameters for the authentication. I assume you want to use an existing
> ticket cache. If that is the case, the login.conf file might look something
> like this
> >
> > com.sun.security.jgss.initiate {
> >              com.sun.security.auth.module.Krb5LoginModule required
> >                            debug="false"
> >                  doNotPrompt="true"
> >              useTicketCache="true"
> >                    ticketCache="/path/to/krb5cc_username"
> > };
> >
> > The configuration might be called com.sun.security.jgss.krb5.initiate
> based on the version of java you have but if I recall correctly you would
> get a clear error message about that. You can put it in debug mode too and
> that should help to determine what is happening.
> >
> > Good luck!
> > Borislav
>
>
> Sincerely,
> --
> Atsuhiko Yamanaka
> JCraft,Inc.
> 1-14-20 HONCHO AOBA-KU,
> SENDAI, MIYAGI 980-0014 Japan.
> Tel +81-22-723-2150
> Skype callto://jcraft/
> Twitter: http://twitter.com/ymnk
> Facebook: http://facebook.com/aymnk
>



-- 
Thanks,
Sachith Withana
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
JSch-users mailing list
JSch-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jsch-users

Reply via email to