You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Shawn McKinney (Jira)" <ji...@apache.org> on 2020/02/20 19:14:00 UTC

[jira] [Created] (FC-276) Correct ant config processing of conditionals like enable ssl or rbac accelerator

Shawn McKinney created FC-276:
---------------------------------

             Summary: Correct ant config processing of conditionals like enable ssl or rbac accelerator
                 Key: FC-276
                 URL: https://issues.apache.org/jira/browse/FC-276
             Project: FORTRESS
          Issue Type: Bug
    Affects Versions: 2.0.4
            Reporter: Shawn McKinney
            Assignee: Shawn McKinney
             Fix For: 3.0.0-RC1


This problem came up working on rbac accelerator enablement / disablement.  The conditional:

 

<target name="enable-rbac-accelerator" depends="init" if="rbac.accelerator">

 

This target would execute if this variable was set in the .properties file:

rbac.accelerator=anything

 

Correct to only fire when condition is true:

<target name="enable-rbac-accelerator" depends="init" if="${rbac.accelerator}">

rbac.accelerator=true

 

Also made same change for enable.ssl

 



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org