Hi.
I'm trying to implement Spring security over RequstFactory with GWT2.1
After some searching I've found some posts on this list but they're
missing some explanation.
In all the examples I could find I could see people writing the login
page in JSP and I was wondering if the this is the only
Yes this does happen. So the answer is:
jsp:output omit-xml-declaration=yes /
jsp:directive.page
pageEncoding=ISO-8859-1
contentType=text/html; ISO-8859-1 /
This intructs the jspx file ( an XML file ) to tell your browser it
has to be rendered as text/html.
Sets the
actually i'm only getting xml output; looks kinda strange.
how does your header look like?
---
div xmlns:spring=http://www.springframework.org/tags;
xmlns:fn=http://java.sun.com/jsp/jstl/functions;
xmlns:c=http://java.sun.com/jsp/jstl/core;
Hi Patrick,
I just finished (10 mins ago) implementing my Spring Security service
over the top of the Requestfactory.
I am sure there are some holes (not security ones, just stuff I have
missed) but here is what I did.
I have a user entity (that represents the user). this entity has the
Thx a lot...
how does your web.xml look like and where have you put your login.jspx view?
src main webapps view ?
i think im missing the controller referred in webmvc.
cheers
patrick
On 24.11.2010, at 17:13, Ramon Buckland wrote:
beans:bean id=myUserDetailsService
I do have a dispatcherServlet (serves up other stuff).
My web.xml
?xml version=1.0 encoding=ISO-8859-1 standalone=no?
web-app xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://
www.w3.org/2001/XMLSchema-instance version=2.4
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
looks the same over here...
jogin.jspx get me a not found...
/login gets me:
HTTP ERROR: 500
Circular view path [login]: would dispatch back to the current handler URL
[/login] again.
very strange - also set up a new project without gwt but having the same
problems there
...
On
my login.jspx is just a file in the root (src/main/webapp/login.jspx)
I also saw that circular reference thingo (ignored it and moved the
file out of WEB-INF/views/login.jspx to /login.jspx .. (again , a time
thing, had no time to debug why().
On Nov 24, 10:16 pm, Patrick Hilsbos
now i think i am about to have it running...
found that sample project with correct strcture, maybe were able to get wiring
out of that project.
http://code.google.com/p/wha
On 24.11.2010, at 23:20, Ramon Buckland wrote:
my login.jspx is just a file in the root (src/main/webapp/login.jspx)
now im stuck at that point
HTTP ERROR: 500
javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext;
RequestURI=/login.jspx
Caused by:
java.lang.AbstractMethodError:
javax.servlet.jsp.PageContext.getELContext()Ljavax/el/ELContext;
removed all the message stuff, util taglib / panel
Hi,
could you get a bit more in detail, how to implement the auth - e.g. where to
store the authcode?
Do i have to create a session on my own...?
I already went through a couple of projects dealing with spring security /
acegi.
Thanks !!!
On 10.11.2010, at 17:57, Jack wrote:
Everytime a
Hello,
I'm having problems to understand how User Authentication works with
the RequestFactory.
I do understand the documentation and the expenses example.
How is it possible to implement Authentication/ How do users login?
How can Users only view the Entities they are allowed to see.
How can
Everytime a request is made the RequestFactoryServlet loads an
implementation of UserInformation and calls boolean isUserLoggedIn().
If you do not provide a custom UserInformation implementation a
SimpleUserInformationImpl will be choosen which always returns true
for isUserLoggedIn().
To define
13 matches
Mail list logo