org.apache.directory.shared.kerberos.codec.authenticator
Class AuthenticatorContainer

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

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

The Authenticator container stores the Authenticator 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
AuthenticatorContainer(ByteBuffer stream)
          Creates a new AuthenticatorContainer object.
 
Method Summary
 Authenticator getAuthenticator()
           
 void setAuthenticator(Authenticator authenticator)
          Set a Authenticator 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

AuthenticatorContainer

public AuthenticatorContainer(ByteBuffer stream)
Creates a new AuthenticatorContainer object.

Parameters:
stream - The stream containing the data to decode
Method Detail

getAuthenticator

public Authenticator getAuthenticator()
Returns:
Returns the Authenticator.

setAuthenticator

public void setAuthenticator(Authenticator authenticator)
Set a Authenticator Object into the container. It will be completed by the KerberosDecoder.

Parameters:
authenticator - The Authenticator to set.


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