com.sun.xml.ws.security.opt.impl.incoming.processor
Class SecurityHeaderProcessor

java.lang.Object
  extended by com.sun.xml.ws.security.opt.impl.incoming.processor.SecurityHeaderProcessor

public class SecurityHeaderProcessor
extends java.lang.Object

Author:
K.Venugopal@sun.com

Constructor Summary
SecurityHeaderProcessor(JAXBFilterProcessingContext context, java.util.Map<java.lang.String,java.lang.String> namespaceList, javax.xml.stream.XMLInputFactory xi, StreamReaderBufferCreator sbc)
          Creates a new instance of SecurityHeaderProcessor
 
Method Summary
 SecurityHeaderElement createHeader(javax.xml.stream.XMLStreamReader message)
          gets the SecurityElementType from the message and creates and processes such header
 int getSecurityElementType(javax.xml.stream.XMLStreamReader reader)
          returns the security element type like TIMESTAMP_ELEMENT,BINARYSECURITY_TOKEN_ELEMENT,SIGNATURE_ELEMENT etc
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SecurityHeaderProcessor

public SecurityHeaderProcessor(JAXBFilterProcessingContext context,
                               java.util.Map<java.lang.String,java.lang.String> namespaceList,
                               javax.xml.stream.XMLInputFactory xi,
                               StreamReaderBufferCreator sbc)
Creates a new instance of SecurityHeaderProcessor

Method Detail

createHeader

public SecurityHeaderElement createHeader(javax.xml.stream.XMLStreamReader message)
                                   throws XWSSecurityException
gets the SecurityElementType from the message and creates and processes such header

Parameters:
message - XMLStreamReader
Returns:
SecurityHeaderElement
Throws:
XWSSecurityException

getSecurityElementType

public int getSecurityElementType(javax.xml.stream.XMLStreamReader reader)
returns the security element type like TIMESTAMP_ELEMENT,BINARYSECURITY_TOKEN_ELEMENT,SIGNATURE_ELEMENT etc

Parameters:
reader - XMLStreamReader
Returns:
int


Copyright © 2005-2013 Oracle Corporation. All Rights Reserved.