]
Alexey Loubyansky resolved WFLY-1321.
-------------------------------------
Resolution: Incomplete Description
Please, provide more information for this issue to be investigated.
CLI CommandContext reports exception, but manual entry of command
succeeds.
---------------------------------------------------------------------------
Key: WFLY-1321
URL:
https://issues.jboss.org/browse/WFLY-1321
Project: WildFly
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: CLI
Environment: Fedora 18 x86_64
Reporter: Thomas Hauser
Assignee: Alexey Loubyansky
Using the CommandContext to attempt to run the following command:
/core-service=management/security-realm=ManagementRealm/server-identity=ssl:add(keystore-path=/home/thauser/keys/vault/vault.keystore,keystore-password="${VAULT::ssl::password::ZjJlNjY4ZDEtMWI1OC00MzY4LTkwZGQtOGVlZjE4MWJhMDFhTElORV9CUkVBS3ZhdWx0}")
results in:
May 06, 2013 4:35:46 PM org.jboss.as.cli.impl.CommandContextImpl printLine
ERROR: {
"outcome" => "failed",
"failure-description" => "JBAS014749: Operation handler failed:
JBAS013311: Security Exception",
"rolled-back" => true,
"response-headers" => {"process-state" =>
"reload-required"}
}
However, running the same command with the jboss-cli.sh succeeds:
[standalone@localhost:9999 /]
/core-service=management/ldap-connection=ldap_connection/:add(search-credential="${VAULT::ldap_ldap_connection::password2::OTdkNzg5YWQtNGExZC00YzU0LTliODQtNDg3ODlkNjA0YTJlTElORV9CUkVBS3ZhdWx0}",url="ldap://127.0.0.1:389",search-dn="search-dn")
{"outcome" => "success"}
Note that the version of the AS this is being run against is 7.2.0.Final (I cannot select
this in the Affects Version section)
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: