public class KdcRequest extends KerberosMessage
PVNO
Constructor and Description |
---|
KdcRequest(int pvno,
KerberosMessageType messageType,
PaData[] preAuthData,
RequestBody requestBody)
Creates a new instance of KdcRequest.
|
KdcRequest(int pvno,
KerberosMessageType messageType,
PaData[] preAuthData,
RequestBody requestBody,
byte[] bodyBytes)
Creates a new instance of KdcRequest.
|
Modifier and Type | Method and Description |
---|---|
void |
clearOption(int option)
Clears the option at the specified index.
|
Ticket[] |
getAdditionalTickets()
Returns additional
Ticket s. |
HostAddresses |
getAddresses()
Returns the
HostAddresses . |
byte[] |
getBodyBytes()
Returns the bytes of the body.
|
KerberosPrincipal |
getClientPrincipal()
Returns the client
KerberosPrincipal . |
EncryptedData |
getEncAuthorizationData()
Returns the
EncryptedData . |
Set<EncryptionType> |
getEType()
Returns an array of requested
EncryptionType s. |
KerberosTime |
getFrom()
Returns the from
KerberosTime . |
KdcOptions |
getKdcOptions()
Returns the
KdcOptions . |
int |
getNonce()
Returns the nonce.
|
boolean |
getOption(int option)
Returns the option at the specified index.
|
PaData[] |
getPreAuthData()
Returns an array of
PaData s. |
String |
getRealm()
Returns the realm of the server principal.
|
RequestBody |
getRequestBody()
Returns the request body.
|
KerberosTime |
getRtime()
Returns the "R"
KerberosTime . |
KerberosPrincipal |
getServerPrincipal()
Returns the server
KerberosPrincipal . |
KerberosTime |
getTill()
Returns the till
KerberosTime . |
void |
setOption(int option)
Sets the option at the specified index.
|
getMessageType, getProtocolVersionNumber, setMessageType, setProtocolVersionNumber
public KdcRequest(int pvno, KerberosMessageType messageType, PaData[] preAuthData, RequestBody requestBody)
pvno
- messageType
- preAuthData
- requestBody
- public KdcRequest(int pvno, KerberosMessageType messageType, PaData[] preAuthData, RequestBody requestBody, byte[] bodyBytes)
pvno
- messageType
- preAuthData
- requestBody
- bodyBytes
- public PaData[] getPreAuthData()
PaData
s.PaData
s.public RequestBody getRequestBody()
public byte[] getBodyBytes()
public Ticket[] getAdditionalTickets()
Ticket
s.Ticket
s.public HostAddresses getAddresses()
HostAddresses
.HostAddresses
.public KerberosPrincipal getClientPrincipal()
KerberosPrincipal
.KerberosPrincipal
.public String getRealm()
public EncryptedData getEncAuthorizationData()
EncryptedData
.EncryptedData
.public Set<EncryptionType> getEType()
EncryptionType
s.EncryptionType
s.public KerberosTime getFrom()
KerberosTime
.KerberosTime
.public KdcOptions getKdcOptions()
KdcOptions
.KdcOptions
.public int getNonce()
public KerberosTime getRtime()
KerberosTime
.KerberosTime
.public KerberosPrincipal getServerPrincipal()
KerberosPrincipal
.KerberosPrincipal
.public KerberosTime getTill()
KerberosTime
.KerberosTime
.public boolean getOption(int option)
option
- public void setOption(int option)
option
- public void clearOption(int option)
option
- Copyright © 2003-2013 The Apache Software Foundation. All Rights Reserved.