[23954] in Kerberos
Re: How to get Service Ticket when we have TGT using java.
daemon@ATHENA.MIT.EDU (Jens Bo Friis)
Tue May 31 17:50:39 2005
Message-ID: <429CDC00.1040608@gmail.com>
Date: Tue, 31 May 2005 23:49:52 +0200
From: Jens Bo Friis <bofriis@gmail.com>
MIME-Version: 1.0
To: kerberos@mit.edu
In-Reply-To: <1117519866.919878.248080@o13g2000cwo.googlegroups.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu
try something like:
Credentials serviceCreds =
Credentials.acquireServiceTicket(ServicePrincipalName, tgtCredentials);
/Bo
http://appliedcrypto.com
Veeru wrote:
>Hi,
> We are implementing WS Kerberos authentication using java. We went
>throught the sample providied @
>http://services.iic.ac.in/kbase/docs/java2/guide/security/jgss/tutorials/AcnOnly.html
>
>We have setup Fedora Core 3 and krb5-server and configured. When we run
>the sample code it gets authenticated successfully, but my question is
>:
>
>How to get Kerberos Service Ticket after logging in succesfully and
>getting the TGT using java 1.4.2_04 and Fedora Core 3 [krb5-server]
>
>LoginContext lc ...
>..
>lc.login();
>
>after this step,
>we can say lc.getSubject() which contains the kerberos ticket, now
>using this how do we get the service ticket.
>
>
>Googled for help, but not much help.
>
>Another Question :
>went through
>http://www-128.ibm.com/developerworks/java/library/j-gssapi/.
>Why do we need to write both server and client ?.
>
>Thanks in advance,
>/Veeru.
>
>________________________________________________
>Kerberos mailing list Kerberos@mit.edu
>https://mailman.mit.edu/mailman/listinfo/kerberos
>
>
>
________________________________________________
Kerberos mailing list Kerberos@mit.edu
https://mailman.mit.edu/mailman/listinfo/kerberos