org.apache.directory.server.kerberos.shared.messages
Class KdcRequest

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.messages.KerberosMessage
      extended by org.apache.directory.server.kerberos.shared.messages.KdcRequest

public class KdcRequest
extends KerberosMessage

Version:
$Rev: 590715 $, $Date: 2007-10-31 16:23:32 +0100 (Mi, 31 Okt 2007) $
Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.server.kerberos.shared.messages.KerberosMessage
PVNO
 
Constructor Summary
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.
 
Method Summary
 void clearOption(int option)
          Clears the option at the specified index.
 Ticket[] getAdditionalTickets()
          Returns additional Tickets.
 HostAddresses getAddresses()
          Returns the HostAddresses.
 byte[] getBodyBytes()
          Returns the bytes of the body.
 javax.security.auth.kerberos.KerberosPrincipal getClientPrincipal()
          Returns the client KerberosPrincipal.
 EncryptedData getEncAuthorizationData()
          Returns the EncryptedData.
 java.util.Set<EncryptionType> getEType()
          Returns an array of requested EncryptionTypes.
 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 PaDatas.
 java.lang.String getRealm()
          Returns the realm of the server principal.
 RequestBody getRequestBody()
          Returns the request body.
 KerberosTime getRtime()
          Returns the "R" KerberosTime.
 javax.security.auth.kerberos.KerberosPrincipal getServerPrincipal()
          Returns the server KerberosPrincipal.
 KerberosTime getTill()
          Returns the till KerberosTime.
 void setOption(int option)
          Sets the option at the specified index.
 
Methods inherited from class org.apache.directory.server.kerberos.shared.messages.KerberosMessage
getMessageType, getProtocolVersionNumber, setMessageType, setProtocolVersionNumber
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KdcRequest

public KdcRequest(int pvno,
                  KerberosMessageType messageType,
                  PaData[] preAuthData,
                  RequestBody requestBody)
Creates a new instance of KdcRequest.

Parameters:
pvno -
messageType -
preAuthData -
requestBody -

KdcRequest

public KdcRequest(int pvno,
                  KerberosMessageType messageType,
                  PaData[] preAuthData,
                  RequestBody requestBody,
                  byte[] bodyBytes)
Creates a new instance of KdcRequest.

Parameters:
pvno -
messageType -
preAuthData -
requestBody -
bodyBytes -
Method Detail

getPreAuthData

public PaData[] getPreAuthData()
Returns an array of PaDatas.

Returns:
The array of PaDatas.

getRequestBody

public RequestBody getRequestBody()
Returns the request body.

Returns:
The request body.

getBodyBytes

public byte[] getBodyBytes()
Returns the bytes of the body. This is used for verifying checksums in the Ticket-Granting Service (TGS).

Returns:
The bytes of the body.

getAdditionalTickets

public Ticket[] getAdditionalTickets()
Returns additional Tickets.

Returns:
The Tickets.

getAddresses

public HostAddresses getAddresses()
Returns the HostAddresses.

Returns:
The HostAddresses.

getClientPrincipal

public javax.security.auth.kerberos.KerberosPrincipal getClientPrincipal()
Returns the client KerberosPrincipal.

Returns:
The client KerberosPrincipal.

getRealm

public java.lang.String getRealm()
Returns the realm of the server principal.

Returns:
The realm.

getEncAuthorizationData

public EncryptedData getEncAuthorizationData()
Returns the EncryptedData.

Returns:
The EncryptedData.

getEType

public java.util.Set<EncryptionType> getEType()
Returns an array of requested EncryptionTypes.

Returns:
The array of EncryptionTypes.

getFrom

public KerberosTime getFrom()
Returns the from KerberosTime.

Returns:
The from KerberosTime.

getKdcOptions

public KdcOptions getKdcOptions()
Returns the KdcOptions.

Returns:
The KdcOptions.

getNonce

public int getNonce()
Returns the nonce.

Returns:
The nonce.

getRtime

public KerberosTime getRtime()
Returns the "R" KerberosTime.

Returns:
The "R" KerberosTime.

getServerPrincipal

public javax.security.auth.kerberos.KerberosPrincipal getServerPrincipal()
Returns the server KerberosPrincipal.

Returns:
The server KerberosPrincipal.

getTill

public KerberosTime getTill()
Returns the till KerberosTime.

Returns:
The till KerberosTime.

getOption

public boolean getOption(int option)
Returns the option at the specified index.

Parameters:
option -
Returns:
The option.

setOption

public void setOption(int option)
Sets the option at the specified index.

Parameters:
option -

clearOption

public void clearOption(int option)
Clears the option at the specified index.

Parameters:
option -


Copyright © 2003-2009 Apache Software Foundation. All Rights Reserved.