During insertion of a plugin macro in Confluence page, a password is input through Macro Browser by the editor of the page and the password remains exposed to other editor of the same Confluence page.
That's why it's better to mask the password. But the parameter options seem to have no such facilities presently.
What I need is support for type="password" as parameter options.
If suitable parameters option is not available, what is the alternative?
It's a macro plugin for Confluence to query external database. Its parameter list goes like this in file "atlassian-plugin.xml":
<xhtml-macro name="database-query" class="com.atlassian.tutorial.macro.DatabaseQuery" key="database-query-macro">
<parameter name="Database_Type" type="enum">
<parameter name="Host_Name" type="string"/>
<parameter name="Port" type="string"/>
<parameter name="SID_or_DB" type="string"/>
<parameter name="User_Name" type="string"/>
<parameter name="Password" type="username"/>
<parameter name="SQL" type="string"/>
At the end macro (JAR file) is added by add-on manager. When the macro is inserted to a Confluence page, Macro browser is opened to get the parameters (before preview).
The macro plugin works fine. Only problem is password field is exposed to other users also because it's not masked (what is done by a type "password" filed in html).
Is my description of the problem enough to understand?
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG