|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
An interface to the Kerberos Authentication Service request message.
This message is sent by a user to the Authentication Service for initial authentication.
Defined in RFC 1510 by ASN.1 structure AS-REQ
AS-REQ ::= [APPLICATION 10] KDC-REQ
KDC-REQ ::= SEQUENCE {
pvno[1] INTEGER,
msg-type[2] INTEGER,
padata[3] SEQUENCE OF PA-DATA OPTIONAL,
req-body[4] KDC-REQ-BODY
}
KDC-REQ-BODY ::= SEQUENCE {
kdc-options[0] KDCOptions,
cname[1] PrincipalName OPTIONAL,
-- Used only in AS-REQ
realm[2] Realm, -- Server's realm
-- Also client's in AS-REQ
sname[3] PrincipalName OPTIONAL,
from[4] KerberosTime OPTIONAL,
till[5] KerberosTime OPTIONAL,
rtime[6] KerberosTime OPTIONAL,
nonce[7] INTEGER,
etype[8] SEQUENCE OF INTEGER, -- EncryptionType,
-- in preference order
addresses[9] HostAddresses OPTIONAL,
enc-authorization-data[10] EncryptedData OPTIONAL,
-- Encrypted AuthorizationData encoding
-- only allowed in TGS-REQ
additional-tickets[11] SEQUENCE OF Ticket OPTIONAL
}
| Method Summary | |
Ticket[] |
getAdditionalTickets()
Returns all the additional tickets in this request |
InetAddress[] |
getClientAddresses()
Returns all the client addresses in this request |
PrincipalName |
getClientName()
Returns the client's PrincipalName in this request |
int[] |
getEncryptionType()
Returns the EncryptionType in this request |
Date |
getEndTime()
Returns the end time in this request, or null if absent |
int |
getNonce()
Returns the nonce in this request |
KDCOptions |
getOptions()
Returns the KDCOptions in this request |
PaData[] |
getPaDatas()
Returns all the PaDatas in this request |
String |
getRealm()
Returns the client's realm in this request |
Date |
getRenewTill()
Returns the absolute last renewal time in this request, or null if absent |
PrincipalName |
getServerName()
Returns the server's PrincipalName in this request, or null if absent |
Date |
getStartTime()
Returns the start time in this request, or null if absent |
| Methods inherited from interface com.dstc.security.kerberos.msg.KerberosMessage |
getEncoded |
| Method Detail |
public PaData[] getPaDatas()
public KDCOptions getOptions()
public PrincipalName getClientName()
public String getRealm()
public PrincipalName getServerName()
public Date getStartTime()
public Date getEndTime()
public Date getRenewTill()
public int getNonce()
public int[] getEncryptionType()
public InetAddress[] getClientAddresses()
public Ticket[] getAdditionalTickets()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||