[
https://issues.jboss.org/browse/JBJCA-1113?page=com.atlassian.jira.plugin...
]
Jesper Pedersen closed JBJCA-1113.
----------------------------------
Resolution: Rejected
Use the forum for discussions. Security inflow configuration has been supported since IJ
1.1
JCA 1.6: 16.4.4 CallbackSecurity mapping not found
--------------------------------------------------
Key: JBJCA-1113
URL:
https://issues.jboss.org/browse/JBJCA-1113
Project: IronJacamar
Issue Type: Bug
Components: Core
Affects Versions: 1.0.14.Final
Reporter: Martin Keller
Assignee: Jesper Pedersen
In the package "package org.jboss.jca.core.workmanager;" we found inside the
Source "WorkWrapper.java" the following code part containing the comment
" // JCA 1.6: 16.4.4 " instead of an implementation of a
"real"security mapping.
When will security mapping become available ?
List<Callback> callbacks = new ArrayList<Callback>();
if (workManager.getCallbackSecurity().isMappingRequired())
{
// JCA 1.6: 16.4.4
}
if (workManager.getCallbackSecurity().getDefaultPrincipal() != null)
{
Principal defaultPrincipal =
workManager.getCallbackSecurity().getDefaultPrincipal();
CallerPrincipalCallback cpc =
new CallerPrincipalCallback(executionSubject, defaultPrincipal);
callbacks.add(cpc);
}
if (workManager.getCallbackSecurity().getDefaultGroups() != null)
{
String[] defaultGroups =
workManager.getCallbackSecurity().getDefaultGroups();
GroupPrincipalCallback gpc =
new GroupPrincipalCallback(executionSubject, defaultGroups);
callbacks.add(gpc);
}
if (callbacks.size() > 0)
{
Callback[] cb = new Callback[callbacks.size()];
cbh.handle(callbacks.toArray(cb));
}
--
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:
http://www.atlassian.com/software/jira