Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## be.ehealth.technicalconnector.handler.wss4j
Class WSSecHeaderGeneratorWss4jImpl

    java.lang.Object
      be.ehealth.technicalconnector.handler.wss4j.WSSecHeaderGeneratorWss4jImpl

All Implemented Interfaces:
  AbstractWsSecurityHandler.WSSecHeaderGeneratorStep0, AbstractWsSecurityHandler.WSSecHeaderGeneratorStep1, AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2, AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3, AbstractWsSecurityHandler.WSSecHeaderGeneratorStep4

    public class WSSecHeaderGeneratorWss4jImpl

extends Object
implements AbstractWsSecurityHandler.WSSecHeaderGeneratorStep0, AbstractWsSecurityHandler.WSSecHeaderGeneratorStep1, AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2, AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3, AbstractWsSecurityHandler.WSSecHeaderGeneratorStep4

WS Security header generator based on WSS4J.

Constructor Summary
`WSSecHeaderGeneratorWss4jImpl()`

Method Summary
`AbstractWsSecurityHandler.WSSecHeaderGeneratorStep1` | `on(SOAPMessage message)`
`void` | `sign(AbstractWsSecurityHandler.SignedParts... parts)`
`AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3` | `withBinarySecurityToken(Credential cred)`
`AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3` | `withSAMLToken(SAMLToken token)`
`AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2` | `withTimeStamp(Duration duration)`
`AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2` | `withTimeStamp(long ttl, TimeUnit unit)`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### WSSecHeaderGeneratorWss4jImpl

    public WSSecHeaderGeneratorWss4jImpl()

Method Detail

### on

    public AbstractWsSecurityHandler.WSSecHeaderGeneratorStep1 on(SOAPMessage message)
                                                           throws TechnicalConnectorException

  Specified by:
    `on` in interface `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep0`
  Throws:
    `TechnicalConnectorException`

### withTimeStamp

    public AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2 withTimeStamp(long ttl,
                                                                             TimeUnit unit)

  Specified by:
    `withTimeStamp` in interface `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep1`

### withTimeStamp

    public AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2 withTimeStamp(Duration duration)

  Specified by:
    `withTimeStamp` in interface `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep1`

### withBinarySecurityToken

    public AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3 withBinarySecurityToken(Credential cred)
                                                                                throws TechnicalConnectorException

  Specified by:
    `withBinarySecurityToken` in interface `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep2`
  Throws:
    `TechnicalConnectorException`

### withSAMLToken

    public AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3 withSAMLToken(SAMLToken token)
                                                                      throws TechnicalConnectorException

  Specified by:
    `withSAMLToken` in interface `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep3`
  Throws:
    `TechnicalConnectorException`

### sign

    public void sign(AbstractWsSecurityHandler.SignedParts... parts)
              throws TechnicalConnectorException

  Specified by:
    `sign` in interface `AbstractWsSecurityHandler.WSSecHeaderGeneratorStep4`
  Throws:
    `TechnicalConnectorException`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Connector Packaging TECHNICAL 3.15.1 API
Copyright © {inceptionYear}-2018 eHealth. All Rights Reserved.