Hide Forgot
project_key: SOA In the modeshape-config.xml, the JAAS setting of: <jaasLoginConfigName jcr:primaryType="option" value="modeshape"/> is not picked up, and therefore the internal default of modeshape-jcr is used. However, if defined as: <mode:option jcr:name="jaasLoginConfigName" mode:value="modeshape-abc"/> this is picked up and the override is applied.
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