org.jboss.security.negotiation.spnego
Class SPNEGOMessageFactory
java.lang.Object
org.jboss.security.negotiation.MessageFactory
org.jboss.security.negotiation.spnego.SPNEGOMessageFactory
public class SPNEGOMessageFactory
- extends MessageFactory
The message factory for reading SPNEGO messages from InputStreams and
creating the Java representation of the message.
- Since:
- 10th August 2008
- Version:
- $Revision: 77129 $
- Author:
- darran.lofthouse@jboss.com
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SPNEGOMessageFactory
public SPNEGOMessageFactory()
accepts
public boolean accepts(InputStream in)
throws IOException
- Description copied from class:
MessageFactory
- Peek at the data in the InputStream and return true if this
MessageFactory can handle the data.
- Specified by:
accepts
in class MessageFactory
- Throws:
IOException
createMessage
public NegotiationMessage createMessage(InputStream in)
throws IOException
- Description copied from class:
MessageFactory
- Read the message from the InputStream and create the Java
representation of the message.
- Specified by:
createMessage
in class MessageFactory
- Throws:
IOException
Copyright © 2010 JBoss, a division of Red Hat, Inc.. All Rights Reserved.