java ee - EJBAccessException within @Schedule method in JBoss 6 -


We are filling a map using the remote method EJB from the client. The app is using the timer to work on this map's data.

When the security domain is activated using LDAP, the client is able to call the remote method using LDAP authentication but javax.ejb.EJBAccessException: Invalid user The timer is thrown out by the timeout method @ javax.ejb.Schedule has attempted to call the local EJB method, and the authentication failed.

I have read a lot of threads about this configuration: Maybe, but there is no effect on the comment on the timer @RunAs .

I have tried different blends between jboss-app / security-domain and @org. Jboss.ejb3.annotation.SecurityDomain comment without success

Does anyone have a timer experience with LDAP authentication?

in & lt; interceptor-riff name =" org.jboss.ejb3.security.RunAsSecurityInterceptorFactory "/ & gt; StatelessBeanTimeoutMethodStack

ejb3-interceptors-aop.xml (line 203 look almost)

like:

  & Lt; stack name = "StatelessBeanTimeoutMethodStack"> Lt ;! - Include the normal timeout method stack After JBAS-8130, just use this stack-riff and below 4 duplicates listed interceptor-riff below & lt; stack-ref name = "TimeoutMethodStack" / & gt; - & gt; & Lt; interceptor-riff name = "org.jboss.ejb3.interceptor.EJB3TCCLInterceptor" / & gt; & Lt; Interceptor-Rif name = "org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor" /> & Lt; Interceptor-Rif name = "Current InvocationContact Interceptor" /> & Lt; Interceptor-Rif name = "org.jboss.ejb3.BlockContainerShutdownInterceptor" /> & Lt ;! - Extra SLSB specific ones - & gt; & Lt; Interceptor-Rif name = "org.jboss.ejb3.ENCPropagationInterceptor" /> & Lt; Interceptor-Rif name = "org.jboss.ejb3.security.RunAsSecurityInterceptorFactory" /> & Lt; Interceptor-Rif name = "org.jboss.aspects.tx.TxPropagationInterceptor" /> & Lt; Interceptor-ref name = "CMTTx" /> & Lt; Interceptor-Rif name = "org.jboss.ejb3.stateless.StatelessInstanceInterceptor" /> & Lt; Interceptor-Rif name = "org.jboss.ejb3.tx.BMTTxInterceptorFactory" /> & Lt; Interceptor-Rif name = "org.jboss.ejb.3. Unassigned operation interceptor" /> & Lt; Interceptor-Rif name = "org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor" /> & Lt; / Pile & gt;  

The same problem happens with MDB.

Also:


Comments

Popular posts from this blog

java - Can't add JTree to JPanel of a JInternalFrame -

javascript - data.match(var) not working it seems -

javascript - How can I pause a jQuery .each() loop, while waiting for user input? -