[jboss-user] [JBoss Seam] - ejb3/seam-gwt-remoting/gwt security integration
hartfordd
do-not-reply at jboss.com
Fri Nov 30 11:00:08 EST 2007
Jboss 4.2.1
Seam 2.0.0.GA
Security with JAAS as layed out here in GWT web app components.xml file:
http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/security.html#d0e7008
*Seam GWT-remoting
*GWT Web Application (i.e. browser/javascript only web client).
JIRA to be opened to attach sample project
Seam @WebService method with @Restrict throws error:
============
10:26:50,616 ERROR [[/sample-ejb3-gwt-client]] Exception while dispatching incom
ing RPC call
org.jboss.seam.security.NotLoggedInException
at org.jboss.seam.security.Identity.checkRestriction(Identity.java:222)
at org.jboss.seam.security.SecurityInterceptor.aroundInvoke(SecurityInte
rceptor.java:38)
at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocation
Context.java:68)
at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:
106)
at org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInter
ceptor.java:54)
at org.javassist.tmp.java.lang.Object_$$_javassist_0.gwtTestSecurity(Obj
ect_$$_javassist_0.java)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.seam.remoting.gwt.GWTToSeamAdapter.callWebRemoteMethod(GWTT
oSeamAdapter.java:100)
at org.jboss.seam.remoting.gwt.GWTService.processCall(GWTService.java:24
6)
at org.jboss.seam.remoting.gwt.GWTService$1.process(GWTService.java:146)
at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHtt
pServletRequest.java:53)
at org.jboss.seam.remoting.gwt.GWTService.getResource(GWTService.java:13
0)
at org.jboss.seam.servlet.SeamResourceServlet.doGet(SeamResourceServlet.
java:69)
at org.jboss.seam.servlet.SeamResourceServlet.doPost(SeamResourceServlet
.java:86)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
lter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:230)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:175)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
yAssociationValve.java:179)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:525)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
e.java:84)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:128)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:104)
at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedC
onnectionValve.java:157)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:241)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:844)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:580)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
7)
at java.lang.Thread.run(Thread.java:619)
===============
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109370#4109370
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109370
More information about the jboss-user
mailing list