[jboss-jira] [JBoss JIRA] (JBJCA-1113) JCA 1.6: 16.4.4 CallbackSecurity mapping not found

Martin Keller (JIRA) jira-events at lists.jboss.org
Mon Nov 11 10:01:05 EST 2013


Martin Keller created JBJCA-1113:
------------------------------------

             Summary: 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


More information about the jboss-jira mailing list