sun.security.mule.krb5.internal.ccache
Class CCacheInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by java.io.FilterInputStream
          extended by java.io.BufferedInputStream
              extended by sun.security.mule.krb5.internal.util.KrbDataInputStream
                  extended by sun.security.mule.krb5.internal.ccache.CCacheInputStream
All Implemented Interfaces:
Closeable, FileCCacheConstants

public class CCacheInputStream
extends KrbDataInputStream
implements FileCCacheConstants

This class extends KrbDataInputStream. It is used for parsing FCC-format data from file to memory.

Author:
Yanni Zhang

Field Summary
 
Fields inherited from class java.io.BufferedInputStream
buf, count, marklimit, markpos, pos
 
Fields inherited from class java.io.FilterInputStream
in
 
Fields inherited from interface sun.security.mule.krb5.internal.ccache.FileCCacheConstants
FCC_TAG_DELTATIME, KRB5_FCC_FVNO_1, KRB5_FCC_FVNO_2, KRB5_FCC_FVNO_3, KRB5_FCC_FVNO_4, KRB5_NT_UNKNOWN, MAXNAMELENGTH, TKT_FLG_FORWARDABLE, TKT_FLG_FORWARDED, TKT_FLG_HW_AUTH, TKT_FLG_INITIAL, TKT_FLG_INVALID, TKT_FLG_MAY_POSTDATE, TKT_FLG_POSTDATED, TKT_FLG_PRE_AUTH, TKT_FLG_PROXIABLE, TKT_FLG_PROXY, TKT_FLG_RENEWABLE
 
Constructor Summary
CCacheInputStream(InputStream is)
           
 
Method Summary
 PrincipalName readPrincipal(int version)
           
 Tag readTag()
           
 
Methods inherited from class sun.security.mule.krb5.internal.util.KrbDataInputStream
read, readVersion, setNativeByteOrder
 
Methods inherited from class java.io.BufferedInputStream
available, close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.io.FilterInputStream
read
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CCacheInputStream

public CCacheInputStream(InputStream is)
Method Detail

readTag

public Tag readTag()
            throws IOException
Throws:
IOException

readPrincipal

public PrincipalName readPrincipal(int version)
                            throws IOException,
                                   RealmException
Throws:
IOException
RealmException


Copyright © 2013. All Rights Reserved.