public class NegTokenInitDecoder extends NegTokenDecoder
Constructor and Description |
---|
NegTokenInitDecoder() |
Modifier and Type | Method and Description |
---|---|
static NegTokenInit |
decode(byte[] token)
Decode the SPNEGO message contained witin the byte[] and return a
NegTokenInit object.
|
static NegTokenInit |
decode(InputStream is) |
protected static void |
decodeMechToken(InputStream is,
NegTokenInit negTokenInit) |
protected static void |
decodeMechTypes(InputStream is,
NegTokenInit negTokenInit) |
protected static void |
decodeNegTokenInitSequence(InputStream is,
NegTokenInit negTokenInit) |
protected static void |
decodeRequestFlags(InputStream is,
NegTokenInit negTokenInit) |
readLength
protected static void decodeRequestFlags(InputStream is, NegTokenInit negTokenInit) throws IOException
IOException
protected static void decodeMechTypes(InputStream is, NegTokenInit negTokenInit) throws IOException, GSSException
IOException
GSSException
protected static void decodeMechToken(InputStream is, NegTokenInit negTokenInit) throws IOException
IOException
protected static void decodeNegTokenInitSequence(InputStream is, NegTokenInit negTokenInit) throws IOException, GSSException
IOException
GSSException
public static NegTokenInit decode(InputStream is) throws IOException, GSSException
IOException
GSSException
public static NegTokenInit decode(byte[] token) throws IOException, GSSException
token
- - The SPNEGO message contained
with a byte[]IOException
GSSException
Copyright © 2018 JBoss by Red Hat. All rights reserved.