public class TicketFactory extends Object
| Constructor and Description |
|---|
TicketFactory() |
| Modifier and Type | Method and Description |
|---|---|
KerberosTicket |
getKerberosTicket(Ticket ticket)
Convert an Apache Directory Kerberos
Ticket into a KerberosTicket. |
EncryptionKey |
getServerKey(KerberosPrincipal serverPrincipal,
String serverPassword)
Returns a server key derived from a server principal and server password.
|
Ticket |
getTicket(KerberosPrincipal clientPrincipal,
KerberosPrincipal serverPrincipal,
EncryptionKey serverKey)
Build the service ticket.
|
public EncryptionKey getServerKey(KerberosPrincipal serverPrincipal, String serverPassword)
serverPrincipal - serverPassword - EncryptionKey.public Ticket getTicket(KerberosPrincipal clientPrincipal, KerberosPrincipal serverPrincipal, EncryptionKey serverKey) throws KerberosException
clientPrincipal - serverPrincipal - serverKey - Ticket.KerberosExceptionpublic KerberosTicket getKerberosTicket(Ticket ticket) throws IOException
Ticket into a KerberosTicket.ticket - KerberosTicket.IOExceptionCopyright © 2003-2012 Apache Software Foundation. All Rights Reserved.