| Summary: | Configuration setting, jaasLoginConfigName, when defined as the element name, is not picked up to override the default modeshape-jcr | ||
|---|---|---|---|
| Product: | [JBoss] JBoss Enterprise SOA Platform 5 | Reporter: | Van Halbert <vhalbert> |
| Component: | EDS | Assignee: | Van Halbert <vhalbert> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | |
| Severity: | urgent | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 5.1.0.ER4 | CC: | rhauch |
| Target Milestone: | --- | ||
| Target Release: | 5.1.0 GA | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://jira.jboss.org/jira/browse/SOA-2645 | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-02-04 20:28:26 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
|
Description
Van Halbert
2010-12-06 16:23:42 UTC
Link: Added: This issue Cloned from MODE-1038 Security: Added: Public The actual problem appears to be an error in the configuration file for SOA-P. The original fragment in the configuration file was this:
<jaasLoginConfigName jcr:primaryType="option" value="modeshape"/>
The "mode:" prefix is missing from two places in this line. The first is that the value for the "jcr:primaryType" XML attribute should be "mode:option", not "option". Second, the "value" XML attribute also needs the "mode:" XML namespace prefix. Thus, the line should be:
<jaasLoginConfigName jcr:primaryType="mode:option" mode:value="modeshape"/>
This is how the other options are specified in the same configuration file.
I'd recommend switching all repository options to the "mode:option" form, as that is a) slightly smaller and b) more consistent with the other parts of the configuration file. Thus the equivalent would be:
<mode:option jcr:name="jaasLoginConfigName" mode:value="modeshape"/>
Note that MODE-1038 was resolved with a minor improvement to improve the error message when a JAAS login configuration policy with the configured name could not be found. However, this change is not required to fix the SOA-P configuration file.
The changes were committed to the soa build. These won't make it into the ER5 release, but should be in the next release. Release Notes Docs Status: Added: Not Required Writer: Added: Darrin |