krb5.client.ccache
Class Credentials

java.lang.Object
  extended by krb5.client.ccache.Credentials
All Implemented Interfaces:
java.io.Serializable

public class Credentials
extends java.lang.Object
implements java.io.Serializable

TODO Class Description : Credential data structure.

Version:
1.1
Author:
Bojan Pajkovski
See Also:
Serialized Form

Field Summary
 AuthorizationData authorizationData
          Authorization data
 KerberosTime authtime
          Authentication time
 HostAddresses caddr
          Address
 PrincipalName cname
          Client name
 Realm crealm
          Client realm
static int CRED_TYPE_INIT
          Credential type: initial credential
static int CRED_TYPE_SERV
          Credential type: service credential
 int credsType
          Type of credential's ticket
 java.lang.String description
          Description of tickets
 KerberosTime endtime
          End time
 TicketFlags flags
          Ticket flags
 boolean isEncInSKey
          Is encryption in server key
 EncryptionKey key
          Key
 KerberosTime keyExpiration
          Key expiration time
 PAData[] pAData
          PA data
 KerberosTime renewTill
          Renew till
 Ticket secondTicket
          Second ticket
 PrincipalName sname
          Server name
 Realm srealm
          Server realm
 KerberosTime starttime
          Start time
 Ticket ticket
          Ticket
 
Constructor Summary
Credentials(int credsType, KDCRep kdcRep, Ticket new_secondTicket, AuthorizationData new_authorizationData, boolean new_isEncInSKey)
          Class constructor
 
Method Summary
 PrincipalName client()
          Returns client name
 PrincipalName server()
          Returns server name
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CRED_TYPE_INIT

public static int CRED_TYPE_INIT
Credential type: initial credential


CRED_TYPE_SERV

public static int CRED_TYPE_SERV
Credential type: service credential


credsType

public int credsType
Type of credential's ticket


description

public java.lang.String description
Description of tickets


pAData

public PAData[] pAData
PA data


crealm

public Realm crealm
Client realm


cname

public PrincipalName cname
Client name


ticket

public Ticket ticket
Ticket


key

public EncryptionKey key
Key


keyExpiration

public KerberosTime keyExpiration
Key expiration time


flags

public TicketFlags flags
Ticket flags


authtime

public KerberosTime authtime
Authentication time


starttime

public KerberosTime starttime
Start time


endtime

public KerberosTime endtime
End time


renewTill

public KerberosTime renewTill
Renew till


srealm

public Realm srealm
Server realm


sname

public PrincipalName sname
Server name


caddr

public HostAddresses caddr
Address


secondTicket

public Ticket secondTicket
Second ticket


authorizationData

public AuthorizationData authorizationData
Authorization data


isEncInSKey

public boolean isEncInSKey
Is encryption in server key

Constructor Detail

Credentials

public Credentials(int credsType,
                   KDCRep kdcRep,
                   Ticket new_secondTicket,
                   AuthorizationData new_authorizationData,
                   boolean new_isEncInSKey)
Class constructor

Parameters:
credsType - int
kdcRep - KDCRep
new_secondTicket - Ticket
new_authorizationData - AuthorizationData
new_isEncInSKey - boolean
Method Detail

client

public PrincipalName client()
Returns client name

Returns:
PrincipalName

server

public PrincipalName server()
Returns server name

Returns:
PrincipalName is a result
See Also:
PrincipalName