org.apache.directory.shared.kerberos.codec.actions
Class AbstractReadKerberosTime<E extends org.apache.directory.shared.asn1.ber.Asn1Container>

java.lang.Object
  extended by org.apache.directory.shared.asn1.ber.grammar.GrammarAction<E>
      extended by org.apache.directory.shared.kerberos.codec.actions.AbstractReadKerberosTime<E>
All Implemented Interfaces:
org.apache.directory.shared.asn1.ber.grammar.Action<E>
Direct Known Subclasses:
StoreAuthTime, StoreAuthTime, StoreAuthTime, StoreCTime, StoreCTime, StoreCTime, StoreEndTime, StoreEndTime, StoreEndTime, StoreKeyExpiration, StoreLrValue, StorePaTimestamp, StoreRenewtill, StoreRenewtill, StoreRenewTill, StoreRTime, StoreStartTime, StoreStartTime, StoreStartTime, StoreSTime, StoreTimestamp, StoreTimestamp, StoreTimestamp

public abstract class AbstractReadKerberosTime<E extends org.apache.directory.shared.asn1.ber.Asn1Container>
extends org.apache.directory.shared.asn1.ber.grammar.GrammarAction<E>

The action used to read the KerberosTime

Author:
Apache Directory Project

Field Summary
 
Fields inherited from class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
name
 
Constructor Summary
AbstractReadKerberosTime(String name)
          Instantiates a new AbstractReadKerberosTime action.
 
Method Summary
 void action(E container)
          
protected abstract  void setKerberosTime(KerberosTime krbtime, E container)
          set the KerberosTime on the ASN.1 object present in the container
 
Methods inherited from class org.apache.directory.shared.asn1.ber.grammar.GrammarAction
toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AbstractReadKerberosTime

public AbstractReadKerberosTime(String name)
Instantiates a new AbstractReadKerberosTime action.

Method Detail

setKerberosTime

protected abstract void setKerberosTime(KerberosTime krbtime,
                                        E container)
set the KerberosTime on the ASN.1 object present in the container

Parameters:
krbtime - the KerberosTime decoded from the TLV
container - the ASN.1 object's container

action

public final void action(E container)
                  throws org.apache.directory.shared.asn1.DecoderException

Throws:
org.apache.directory.shared.asn1.DecoderException


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