Romain Manni-Bucau created TOMEE-997:
----------------------------------------

             Summary: add ejbd client property (passed to remote initial 
context factory) to login/logout the specified user by request and not at 
lookup (openejb.ejbd.authenticate-with-request=true)
                 Key: TOMEE-997
                 URL: https://issues.apache.org/jira/browse/TOMEE-997
             Project: TomEE
          Issue Type: Bug
            Reporter: Romain Manni-Bucau
            Assignee: Romain Manni-Bucau
             Fix For: 1.6.0


example:

props.put(Context.INITIAL_CONTEXT_FACTORY, 
RemoteInitialContextFactory.class.getName())
props.put(Context.PROVIDER_URL, "http://localhost:8080/tomee/ejb";)
props.put("openejb.ejbd.authenticate-with-request", "true")
props.put("java.naming.security.principal", "foo")
props.put("java.naming.security.credentials", "bar")
props.put("openejb.authentication.realmName", "FooBar")

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

Reply via email to