org.apache.directory.server.kerberos.shared.messages.value
Class PrincipalName

java.lang.Object
  extended by org.apache.directory.server.kerberos.shared.messages.value.PrincipalName

public class PrincipalName
extends java.lang.Object

Version:
$Rev: 540371 $, $Date: 2007-05-21 20:00:43 -0400 (Mon, 21 May 2007) $
Author:
Apache Directory Project

Constructor Summary
PrincipalName(java.lang.String nameComponent, int nameType)
          Creates a new instance of PrincipalName.
 
Method Summary
 java.lang.String getNameComponent()
          Returns the name component.
 int getNameType()
          Returns the type of the PrincipalName.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalName

public PrincipalName(java.lang.String nameComponent,
                     int nameType)
Creates a new instance of PrincipalName.

Parameters:
nameComponent -
nameType -
Method Detail

getNameType

public int getNameType()
Returns the type of the PrincipalName.

Returns:
The type of the PrincipalName.

getNameComponent

public java.lang.String getNameComponent()
Returns the name component.

Returns:
The name component.


Copyright © 2003-2007 The Apache Software Foundation. All Rights Reserved.