Uses of Class
com.dstc.security.kerberos.PrincipalName

Packages that use PrincipalName
com.dstc.security.kerberos This package defines the main Kerberos 5 interfaces and classes. 
com.dstc.security.kerberos.creds This package defines interfaces to Kerberos Credentials and KeyTabs and their management. 
com.dstc.security.kerberos.msg This package defines interfaces to Kerberos 5 messages. 
 

Uses of PrincipalName in com.dstc.security.kerberos
 

Methods in com.dstc.security.kerberos that return PrincipalName
 PrincipalName KerberosContext.getPrincipalName()
          Returns the principal name valid for the current context
 PrincipalName Ticket.getServerName()
          Returns the service principal name for this Ticket
 PrincipalName Ticket.getClientName()
          Returns the client's principal name for this Ticket
 

Methods in com.dstc.security.kerberos with parameters of type PrincipalName
 void FileCredentialStore.setDefaultUser(PrincipalName name, String realm)
          Sets the default principal and realm for this CredentialStore.
 KrbASReq Kerberos.createKrbASReq(PrincipalName sName, KDCOptions options, InetAddress[] adds, Date validFrom, Date validTill, PaData[] padatas)
          Creates and returns a KrbASReq in order to send to a KDC.
 KrbTGSReq Kerberos.createKrbTGSReq(Credential cred, PrincipalName sName, String realm, KDCOptions options, Date validFrom, Date validTill, InetAddress[] adds, Ticket addTicket, AuthorizationDataElement[] authData)
          Creates and returns a KrbTGSReq in order to send to a KDC.
 Credential Kerberos.requestInitialTicket(EncryptionKey key, PrincipalName sName, KDCOptions options, Date validFrom, Date validTill, InetAddress[] adds, PaData[] padatas)
          Requests from the KDC an initial ticket (may be TGT or service ticket) for the supplied target principal with supplied request options, validity dates (may be null, in which case defaults apply), addresses for which the ticket is to be valid (may be null, in which case it's all the local addresses), pre-authentication data (may be null), together with an encryption key to decrypt the KDC response.
 Credential Kerberos.requestServiceTicket(Credential cred, PrincipalName sName, String serverRealm, KDCOptions options)
          Requests from the KDC a service ticket with a Credential (containing a suitable TGT) for a service with given name and realm, and given request options and, if successful, returns a Credential (containing the service ticket).
 Credential Kerberos.requestServiceTicket(Credential cred, PrincipalName sName, String serverRealm, KDCOptions options, Date validFrom, Date validTill, Ticket addTicket, AuthorizationDataElement[] authData)
          Requests from the KDC a service ticket with a Credential (containing a suitable TGT) for a service with given name and realm, given request options, validity dates (may be null, in which case defaults apply), additional tickets (may be null) and authorization data (may be null) and, if successful, returns a Credential (containing the service ticket).
static KrbError Kerberos.createKrbError(int errorCode, String realm, PrincipalName sName)
          Creates a KrbError message with an error code, and the realm and server principal name
 void KerberosContext.setPrincipalName(PrincipalName name)
          Sets the principal name valid for the current context
 

Constructors in com.dstc.security.kerberos with parameters of type PrincipalName
KerberosContext.KerberosContext(String realm, PrincipalName name, InetAddress kdc)
          Constructs a KerberosContext valid for the given realm, principal and KDC address
 

Uses of PrincipalName in com.dstc.security.kerberos.creds
 

Methods in com.dstc.security.kerberos.creds that return PrincipalName
 PrincipalName Credential.getClientName()
          Returns the client name
 PrincipalName Credential.getServerName()
          Returns the server name
 

Uses of PrincipalName in com.dstc.security.kerberos.msg
 

Methods in com.dstc.security.kerberos.msg that return PrincipalName
 PrincipalName KrbASRep.getClientName()
          Returns the client PrincipalName in this response
 PrincipalName KrbASRep.getServerName()
          Returns the server PrincipalName in this response
 PrincipalName KrbASReq.getClientName()
          Returns the client's PrincipalName in this request
 PrincipalName KrbASReq.getServerName()
          Returns the server's PrincipalName in this request, or null if absent
 PrincipalName KrbError.getClientName()
          Returns the client PrincipalName in this message, or null if absent
 PrincipalName KrbError.getServerName()
          Returns the server PrincipalName in this message
 PrincipalName KrbTGSRep.getClientName()
          Returns the client name in this response
 PrincipalName KrbTGSRep.getServerName()
          Returns the server name in this response
 PrincipalName APReq.getClientName()
          Returns the client PrincipalName in this Request
 PrincipalName KrbTGSReq.getClientName()
          Returns the client PrincipalName in this request, or null if absent
 PrincipalName KrbTGSReq.getServerName()
          Returns the server PrincipalName in this request