sun.security.mule.krb5
Class KrbCred
java.lang.Object
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
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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
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.