I have a problem calling a Java class when the property values are set
elsewhere
in script. For example Username and Password are set earlier. How do I pass
them to my class, without specifying then as a Value ?

Obviously this works:

    <class name="net.icsglobal.thelma.synapse.CreateBasicAuthMediator">
         <property name="reqUsername" value="cremedikhorn"/>
         <property name="reqPassword" value="password0"/>
    </class>

What do I do if reqUsername and reqUsername have been set earlier ?

    <class name="net.icsglobal.thelma.synapse.CreateBasicAuthMediator">
         <property name="reqUsername" />
         <property name="reqPassword" />
    </class>

Doesn't work ?

I would like these to be set by java code.
Setting these values, in text, each time is not secure.








-- 
View this message in context: 
http://www.nabble.com/Java-Class-Properties-Setting-tp22406236p22406236.html
Sent from the Synapse - User mailing list archive at Nabble.com.

Reply via email to