com.ibm.wsspi.wssecurity.token
Class LTPATokenConsumer
- java.lang.Object
com.ibm.wsspi.wssecurity.token.LTPATokenConsumer
All implemented interfaces:
com.ibm.ws.webservices.wssecurity.WSSComponent, com.ibm.ws.webservices.wssecurity.WSSConsumerComponent, Initializable, TokenConsumerComponent
- public class LTPATokenConsumer
- extends java.lang.Object
- implements TokenConsumerComponent
Constructor Summary
Constructor and Description |
---|
LTPATokenConsumer()
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
init(java.util.Map map)
Initializes this consumer with a
TokenConsumerConfig object which is passed
in by the map parameter.
|
|
invoke(org.w3c.dom.Node target,java.util.Map context)
Consumes the LTPA token in a SOAP message.
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail
LTPATokenConsumer
- public LTPATokenConsumer()
Method Detail
init
- public void init(java.util.Map map)
- throws SoapSecurityException
Specified by:
init
in interface com.ibm.ws.webservices.wssecurity.WSSComponent
Specified by:
init
in interface Initializable
Parameters:
map
- A Map
object which contains
name-value pairs.
These pairs includes a configuration object and
<Property>
elements in the
configuration XMI files. In the map, the TokenConsumerConfig
object
is stored with a key of TokenConsumerConfig.CONFIG_KEY
. Throws:
SoapSecurityException
- When there is a problem initializing the consumer See Also:
invoke
- public void invoke(org.w3c.dom.Node target,
- java.util.Map context)
- throws SoapSecurityException
Consumes the LTPA token in a SOAP message. Responsible for processing an LTPA token
specified by the
target
parameter.
Specified by:
invoke
in interface com.ibm.ws.webservices.wssecurity.WSSConsumerComponent
Parameters:
target
- The element to be consumed or the
Document
object context
- A Map
object which contains
necessary name-value pairs, such as a Subject
object. Throws:
SoapSecurityException
- When there is a problem during consuming the
LTPA token See Also:
com.ibm.ws.webservices.wssecurity.WSSConsumerComponent#invoke(org.w3c.dom.Element, java.util.Map)
TokenConsumerConfig
object which is passed in by themap
parameter.