https://bz.apache.org/bugzilla/show_bug.cgi?id=64180

--- Comment #5 from mgrigorov <mgrigo...@apache.org> ---
(In reply to Tom from comment #4)
> The proposed enhancement still does not address the ability to parametrize
> the server.xml.  
> 
> Once the keyword secret= is there, it becomes mandatory even if it's "".  
> 
> With your proposal would my server.xml below work as expected if
> secretRequired=false? (no secret required) or would tomcat fail to start
> because secret="" is invalid?


If secret="" is treated the same way as missing attribute, i.e. =null, then it
will work.

I haven't tried it myself but maye you can script it today with:

ajp.secretAttribute=secret=abcd1234

or

ajp.secretAttribute=           # no value, i.e. ""

and then


<Connector protocol="AJP/1.3"
        ...
        ${ajp.secretAttribute}
    />

-- 
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to