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 Object

Author:
K.Venugopal@sun.com

Constructor Summary
SecurityHeaderProcessor(JAXBFilterProcessingContext context, Map<String,String> namespaceList, XMLInputFactory xi, StreamReaderBufferCreator sbc)
          Creates a new instance of SecurityHeaderProcessor
 
Method Summary
 SecurityHeaderElement createHeader(XMLStreamReader message)
          gets the SecurityElementType from the message and creates and processes such header
 int getSecurityElementType(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,
                               Map<String,String> namespaceList,
                               XMLInputFactory xi,
                               StreamReaderBufferCreator sbc)
Creates a new instance of SecurityHeaderProcessor

Method Detail

createHeader

public SecurityHeaderElement createHeader(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(XMLStreamReader reader)
returns the security element type like TIMESTAMP_ELEMENT,BINARYSECURITY_TOKEN_ELEMENT,SIGNATURE_ELEMENT etc

Parameters:
reader - XMLStreamReader
Returns:
int


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