krb5.lib
Class TicketGrantingServiceFactory
java.lang.Object
krb5.lib.TicketGrantingServiceFactory
public class TicketGrantingServiceFactory
- extends java.lang.Object
Class Description : Return a reference to the remote
object, TicketGrantingServiceInterface, to the Kerberos client.
- Version:
- 1.1
- Author:
- Bojan Pajkovski
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TicketGrantingServiceFactory
public TicketGrantingServiceFactory()
getLocalInstance
public static TicketGrantingServiceInterface getLocalInstance()
- Provides a local instance of the ticket granting service
- Returns:
- TicketGrantingServiceInterface
getRemoteInstance
public static TicketGrantingServiceInterface getRemoteInstance(java.lang.String hostname,
int port)
- Lookup in the RMI Registry for the ticket granting service from
the remote site
- Parameters:
hostname
- String - Host nameport
- int - Port number
- Returns:
- TicketGrantingServiceInterface