Skip to content
This repository has been archived by the owner on Jul 11, 2022. It is now read-only.

Commit

Permalink
Bug 1231904 - Error in server log on rhq-jboss-as-7-plugin update
Browse files Browse the repository at this point in the history
Make nativeLocalAuth property optional and fix resource upgrade code, to
actually do upgrade.
  • Loading branch information
Libor Zoubek committed Jun 16, 2015
1 parent 1ce9c99 commit 9bf0db1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Expand Up @@ -625,6 +625,7 @@ public ResourceUpgradeReport upgrade(ResourceUpgradeContext inventoriedResource)

if (pluginConfiguration.getSimpleValue(Property.NATIVE_LOCAL_AUTH) == null) {
serverPluginConfiguration.setNativeLocalAuth(hostConfig.isNativeLocalOnly());
report.setNewPluginConfiguration(serverPluginConfiguration.getPluginConfig());
upgraded = true;
}

Expand Down
Expand Up @@ -1526,7 +1526,7 @@
</c:simple-property>
<c:simple-property name="nativeHost" default="127.0.0.1" required="true" description="Native management API host"/>
<c:simple-property name="nativePort" type="integer" required="true" default="9999" description="Native management API port" />
<c:simple-property name="nativeLocalAuth" displayName="Native Local Authentication" type="boolean">
<c:simple-property name="nativeLocalAuth" required="false" displayName="Native Local Authentication" type="boolean">
<c:description>
Specifies if the local authentication should be used to interact with the EAP CLI
(this includes bundle:handover feature, EAP patching and CLI operations).
Expand Down

0 comments on commit 9bf0db1

Please sign in to comment.