sun.security.mule.krb5
Class KrbTgsReq

java.lang.Object
  extended by sun.security.mule.krb5.KrbKdcReq
      extended by sun.security.mule.krb5.KrbTgsReq

public class KrbTgsReq
extends KrbKdcReq

This class encapsulates a Kerberos TGS-REQ that is sent from the client to the KDC.


Field Summary
 
Fields inherited from class sun.security.mule.krb5.KrbKdcReq
DEFAULT_KDC_TIMEOUT, ibuf, obuf
 
Constructor Summary
KrbTgsReq(Credentials asCreds, PrincipalName sname, Config kerberosConfig)
           
 
Method Summary
 KrbTgsRep getReply()
           
 String send()
          Sends a TGS request to the realm of the target.
 Credentials sendAndGetCreds()
          Sends the request, waits for a reply, and returns the Credentials.
 
Methods inherited from class sun.security.mule.krb5.KrbKdcReq
initializeDefaults, send, send, send
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KrbTgsReq

public KrbTgsReq(Credentials asCreds,
                 PrincipalName sname,
                 Config kerberosConfig)
          throws KrbException,
                 IOException
Throws:
KrbException
IOException
Method Detail

send

public String send()
            throws IOException,
                   KrbException
Sends a TGS request to the realm of the target.

Throws:
KrbException
IOException

getReply

public KrbTgsRep getReply()
                   throws KrbException,
                          IOException
Throws:
KrbException
IOException

sendAndGetCreds

public Credentials sendAndGetCreds()
                            throws IOException,
                                   KrbException
Sends the request, waits for a reply, and returns the Credentials. Used in Credentials, KrbCred, and internal/CredentialsUtil.

Throws:
IOException
KrbException


Copyright © 2013. All Rights Reserved.