Class Overview
This class encapsulates the KRB-AS-REQ message that the client
sends to the KDC.
Summary
| Public Constructors |
|
|
KrbAsReq(char[] password, KDCOptions options, PrincipalName cname, PrincipalName sname, KerberosTime from, KerberosTime till, KerberosTime rtime, int[] eTypes, HostAddresses addresses, Ticket[] additionalTickets, Config kerberosConfig)
|
|
|
KrbAsReq(char[] password, boolean pa_exists, int etype, byte[] salt, byte[] s2kparams, KDCOptions options, PrincipalName cname, PrincipalName sname, KerberosTime from, KerberosTime till, KerberosTime rtime, int[] eTypes, HostAddresses addresses, Ticket[] additionalTickets, Config kerberosConfig)
|
|
|
KrbAsReq(EncryptionKey[] keys, KDCOptions options, PrincipalName cname, PrincipalName sname, KerberosTime from, KerberosTime till, KerberosTime rtime, int[] eTypes, HostAddresses addresses, Ticket[] additionalTickets, Config kerberosConfig)
|
|
|
KrbAsReq(EncryptionKey[] keys, boolean pa_exists, int etype, byte[] salt, byte[] s2kparams, KDCOptions options, PrincipalName cname, PrincipalName sname, KerberosTime from, KerberosTime till, KerberosTime rtime, int[] eTypes, HostAddresses addresses, Ticket[] additionalTickets, Config kerberosConfig)
|
| Public Methods |
|
KrbAsRep
|
getReply(char[] password)
Returns an AS-REP message corresponding to the AS-REQ that
was sent.
|
|
KrbAsRep
|
getReply(EncryptionKey[] keys)
Returns an AS-REP message corresponding to the AS-REQ that
was sent.
|
|
String
|
send()
Sends an AS request to the realm of the client.
|
|
void
|
updatePA(int etype, byte[] salt, byte[] params, PrincipalName name)
|
|
[Expand]
Inherited Methods |
From class
sun.security.mule.krb5.KrbKdcReq
|
static
void
|
initializeDefaults()
|
|
String
|
send(String realm, Config kerberosConfig)
Sends the provided data to the KDC of the specified realm.
|
|
void
|
send(String realm, String tempKdc, boolean useTCP, Config kerberosConfig)
|
|
String
|
send(String realm, boolean useTCP, Config kerberosConfig)
|
|
From class
java.lang.Object
|
Object
|
clone()
|
|
boolean
|
equals(Object arg0)
|
|
void
|
finalize()
|
|
final
Class<?>
|
getClass()
|
|
int
|
hashCode()
|
|
final
void
|
notify()
|
|
final
void
|
notifyAll()
|
|
String
|
toString()
|
|
final
void
|
wait()
|
|
final
void
|
wait(long arg0, int arg1)
|
|
final
void
|
wait(long arg0)
|
|
Fields
private
boolean
KDC_EMPTY_ADDRESSES_ALLOWED
private
boolean
PA_ENC_TIMESTAMP_REQUIRED
private
boolean
pa_exists
private
byte[]
pa_s2kparams
Public Constructors
Parameters
| password
| |
| options
| |
| cname
| |
| sname
| |
| from
| |
| till
| |
| rtime
| |
| eTypes
| |
| addresses
| |
| additionalTickets
| |
| kerberosConfig
| |
public
KrbAsReq
(char[] password, boolean pa_exists, int etype, byte[] salt, byte[] s2kparams, KDCOptions options, PrincipalName cname, PrincipalName sname, KerberosTime from, KerberosTime till, KerberosTime rtime, int[] eTypes, HostAddresses addresses, Ticket[] additionalTickets, Config kerberosConfig)
Parameters
| password
| |
| pa_exists
| |
| etype
| |
| salt
| |
| s2kparams
| |
| options
| |
| cname
| |
| sname
| |
| from
| |
| till
| |
| rtime
| |
| eTypes
| |
| addresses
| |
| additionalTickets
| |
| kerberosConfig
| |
Parameters
| keys
| |
| options
| |
| cname
| |
| sname
| |
| from
| |
| till
| |
| rtime
| |
| eTypes
| |
| addresses
| |
| additionalTickets
| |
| kerberosConfig
| |
Parameters
| keys
| |
| pa_exists
| |
| etype
| |
| salt
| |
| s2kparams
| |
| options
| |
| cname
| |
| sname
| |
| from
| |
| till
| |
| rtime
| |
| eTypes
| |
| addresses
| |
| additionalTickets
| |
| kerberosConfig
| |
Public Methods
public
KrbAsRep
getReply
(char[] password)
Returns an AS-REP message corresponding to the AS-REQ that
was sent.
Parameters
| password
| The password that will be used to derive the
secret key that will decrypt the AS-REP from the KDC. |
Throws
| KrbException
| if an error occurs while reading the data. |
| IOException
| if an I/O error occurs while reading encoded data.
|
Returns an AS-REP message corresponding to the AS-REQ that
was sent.
Parameters
| keys
| The secret keys that will decrypt the AS-REP from
the KDC; key selected depends on etype used to encrypt data. |
Throws
| KrbException
| if an error occurs while reading the data. |
| IOException
| if an I/O error occurs while reading encoded
data.
|
public
String
send
()
Sends an AS request to the realm of the client.
returns the KDC hostname that the request was sent to
public
void
updatePA
(int etype, byte[] salt, byte[] params, PrincipalName name)