public class LTPATokenGenerator extends java.lang.Object implements TokenGeneratorComponent
STANDALONE
Constructor and Description |
---|
LTPATokenGenerator() |
Modifier and Type | Method and Description |
---|---|
void |
init(java.util.Map map)
Initializes this generator with a
TokenGeneratorConfig object which is passed
in by the map parameter. |
void |
invoke(org.w3c.dom.Document doc,
org.w3c.dom.Element parent,
java.util.Map context)
Generates a new LTPA token in a SOAP message.
|
public void init(java.util.Map map) throws SoapSecurityException
TokenGeneratorConfig
object which is passed
in by the map
parameter.init
in interface com.ibm.ws.webservices.wssecurity.WSSComponent
init
in interface Initializable
map
- A Map
object which contains
name-value pairs.
These pairs include a configuration object and
<Property>
elements in the
configuration XMI files. In the map, the TokenGeneratorConfig
object
is stored with a key of TokenGeneratorConfig.CONFIG_KEY
.SoapSecurityException
- When there is a problem initializing the generatorInitializable.init(java.util.Map)
,
TokenGeneratorConfig
public void invoke(org.w3c.dom.Document doc, org.w3c.dom.Element parent, java.util.Map context) throws SoapSecurityException
parent
.invoke
in interface com.ibm.ws.webservices.wssecurity.WSSGeneratorComponent
doc
- The Document
object that includes
a SOAP envelopeparent
- The parent element that has the element to be
generatedcontext
- A Map
object which contains
necessary name-value pairs, such as a Subject
object.SoapSecurityException
- When there is a problem during generating a new
LTPA tokenWSSGeneratorComponent.invoke(org.w3c.dom.Document, org.w3c.dom.Element, java.util.Map)