[jboss-user] [Security & JAAS/JBoss] - Re: JBoss 5 authentication / authorization problem
apph_
do-not-reply at jboss.com
Wed Feb 4 16:19:24 EST 2009
"jaikiran" wrote : I am mainly interested in the @SecurityDomain import:
|
It was import org.jboss.annotation.security.SecurityDomain.
"jaikiran" wrote :
| Can you post the entire exception stacktrace?
Here it is:
| javax.el.ELException: /dataTest.xhtml @11,72 value="#{paymentService.activePayments}": Error reading 'activePayments' on type services.PaymentService
| com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76)
| javax.faces.component.UIData.getValue(UIData.java:609)
| javax.faces.component.UIData.getDataModel(UIData.java:1124)
| javax.faces.component.UIData.setRowIndex(UIData.java:451)
| com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:77)
| javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
| javax.faces.component.UIData.encodeBegin(UIData.java:962)
| javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
| javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
| javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
| javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
| javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
| com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
| com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
| com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
| com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
| root cause
|
| javax.ejb.EJBAccessException: Invalid User
| org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:137)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:65)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67)
| org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
| org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:219)
| org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:261)
| org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101)
| $Proxy245.getActivePayments(Unknown Source)
| services.PaymentService.getActivePayments(PaymentService.java:17)
| sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
| sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
| sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
| java.lang.reflect.Method.invoke(Unknown Source)
| javax.el.BeanELResolver.getValue(BeanELResolver.java:62)
| javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
| com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72)
| org.apache.el.parser.AstValue.getValue(AstValue.java:118)
| org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
| com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
| javax.faces.component.UIData.getValue(UIData.java:609)
| javax.faces.component.UIData.getDataModel(UIData.java:1124)
| javax.faces.component.UIData.setRowIndex(UIData.java:451)
| com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:77)
| javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813)
| javax.faces.component.UIData.encodeBegin(UIData.java:962)
| javax.faces.component.UIComponent.encodeAll(UIComponent.java:928)
| javax.faces.render.Renderer.encodeChildren(Renderer.java:148)
| javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837)
| javax.faces.component.UIComponent.encodeAll(UIComponent.java:930)
| javax.faces.component.UIComponent.encodeAll(UIComponent.java:933)
| com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592)
| com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110)
| com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100)
| com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139)
| javax.faces.webapp.FacesServlet.service(FacesServlet.java:266)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207132#4207132
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207132
More information about the jboss-user
mailing list