sun.security.mule.krb5
Class KrbCred

java.lang.Object
  extended by sun.security.mule.krb5.KrbCred

public class KrbCred
extends Object

This class encapsulates the KRB-CRED message that a client uses to send its delegated credentials to a server. Supports delegation of one ticket only.

Author:
Mayank Upadhyay

Constructor Summary
KrbCred(byte[] asn1Message, EncryptionKey key, Config kerberosConfig)
           
KrbCred(Credentials tgt, Credentials serviceTicket, EncryptionKey key, Config kerberosConfig)
           
 
Method Summary
 Credentials[] getDelegatedCreds()
          Returns the delegated credentials from the peer.
 byte[] getMessage()
          Returns the ASN.1 encoding that should be sent to the peer.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KrbCred

public KrbCred(Credentials tgt,
               Credentials serviceTicket,
               EncryptionKey key,
               Config kerberosConfig)
        throws KrbException,
               IOException
Throws:
KrbException
IOException

KrbCred

public KrbCred(byte[] asn1Message,
               EncryptionKey key,
               Config kerberosConfig)
        throws KrbException,
               IOException
Throws:
KrbException
IOException
Method Detail

getDelegatedCreds

public Credentials[] getDelegatedCreds()
Returns the delegated credentials from the peer.


getMessage

public byte[] getMessage()
Returns the ASN.1 encoding that should be sent to the peer.



Copyright © 2013. All Rights Reserved.