org.jboss.security.negotiation.spnego.encoding
Class NegTokenInitDecoder
java.lang.Object
org.jboss.security.negotiation.spnego.encoding.NegTokenDecoder
org.jboss.security.negotiation.spnego.encoding.NegTokenInitDecoder
public class NegTokenInitDecoder
- extends NegTokenDecoder
NegTokenInit Decoder.
- Author:
- Darran Lofthouse
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NegTokenInitDecoder
public NegTokenInitDecoder()
decodeRequestFlags
protected static void decodeRequestFlags(InputStream is,
NegTokenInit negTokenInit)
throws IOException
- Throws:
IOException
decodeMechTypes
protected static void decodeMechTypes(InputStream is,
NegTokenInit negTokenInit)
throws IOException,
GSSException
- Throws:
IOException
GSSException
decodeMechToken
protected static void decodeMechToken(InputStream is,
NegTokenInit negTokenInit)
throws IOException
- Throws:
IOException
decodeNegTokenInitSequence
protected static void decodeNegTokenInitSequence(InputStream is,
NegTokenInit negTokenInit)
throws IOException,
GSSException
- Throws:
IOException
GSSException
decode
public static NegTokenInit decode(InputStream is)
throws IOException,
GSSException
- Throws:
IOException
GSSException
decode
public static NegTokenInit decode(byte[] token)
throws IOException,
GSSException
- Decode the SPNEGO message contained witin the byte[] and return a
NegTokenInit object.
- Parameters:
token
- - The SPNEGO message contained
with a byte[]
- Returns:
- The decoded NegTokenInit
- Throws:
IOException
GSSException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.