org.apache.directory.shared.kerberos.codec.principalName
Class PrincipalNameContainer

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.AbstractContainer
      extended by org.apache.directory.shared.kerberos.codec.principalName.PrincipalNameContainer
All Implemented Interfaces:
org.apache.directory.shared.asn1.ber.Asn1Container

public class PrincipalNameContainer
extends org.apache.directory.shared.asn1.ber.AbstractContainer

The PrincipalName container stores the PrincipalName decoded by the Asn1Decoder.

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
decodeBytes, grammar, stateStack
 
Constructor Summary
PrincipalNameContainer()
          Creates a new PrincipalNameContainer object.
 
Method Summary
 PrincipalName getPrincipalName()
           
 void setPrincipalName(PrincipalName principalName)
          Set a PrincipalName Object into the container.
 
Methods inherited from class org.apache.directory.shared.asn1.ber.AbstractContainer
clean, getCurrentTLV, getDecodeBytes, getGrammar, getMaxPDUSize, getNewTlvId, getParentTLV, getState, getStream, getTlvId, getTransition, incrementDecodeBytes, isGathering, isGrammarEndAllowed, rewind, setCurrentTLV, setGathering, setGrammarEndAllowed, setMaxPDUSize, setParentTLV, setState, setStream, setTransition, updateParent
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrincipalNameContainer

public PrincipalNameContainer()
Creates a new PrincipalNameContainer object.

Method Detail

getPrincipalName

public PrincipalName getPrincipalName()
Returns:
Returns the PrincipalName.

setPrincipalName

public void setPrincipalName(PrincipalName principalName)
Set a PrincipalName Object into the container. It will be completed by the KerberosDecoder.

Parameters:
principalName - The principalName to set.


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