org.systinet.wasp.security.ws
Interface SecurityContext


public interface SecurityContext

Represents WS-Security context for processing of security tokens. It is used by implementation of Security Token - (SecurityTokenHandlerSPI and SecurityTokenSPI) to query processing context and WS-Security configuration.

Since:
4.6
Component:
Security-Providers

Method Summary
 MessageConf getMessageConf()
          Returns message configuratio, which will be passed to the incoming validator.
 org.w3c.dom.Document getMessageDocument()
          Returns the document which represents the processed SOAP message.
 PStore getPStore()
          Returns WSO2 SOA Enablement Server's PStore instance.
 java.lang.String getSoapPrefix()
          Gets the soap prefix of the processed message.
 java.lang.String getWsseNamespace()
          Gets wsse namespace related to the processed message
 java.lang.String getWsuNamespace()
          Gets wsse namespace related to the processed message
 

Method Detail

getPStore

public PStore getPStore()
                 throws WSSecurityException
Returns WSO2 SOA Enablement Server's PStore instance.

Returns:
PStore instance
Throws:
WSSecurityException - thrown if something is wrong.

getWsseNamespace

public java.lang.String getWsseNamespace()
Gets wsse namespace related to the processed message

Returns:
the namespace

getWsuNamespace

public java.lang.String getWsuNamespace()
Gets wsse namespace related to the processed message

Returns:
the namespace

getSoapPrefix

public java.lang.String getSoapPrefix()
Gets the soap prefix of the processed message.

Returns:
the prefix

getMessageDocument

public org.w3c.dom.Document getMessageDocument()
                                        throws WSSecurityException
Returns the document which represents the processed SOAP message.

Returns:
the document
Throws:
WSSecurityException - thrown if something is wrong.

getMessageConf

public MessageConf getMessageConf()
Returns message configuratio, which will be passed to the incoming validator.

Returns:
the configuration