good question,
From looking at the source, it looks like you just need to extend the
package org.springframework.security.userdetails;
User class with the info you want, and just make...
Type: Posts; User: jjunos; Keyword(s):
good question,
From looking at the source, it looks like you just need to extend the
package org.springframework.security.userdetails;
User class with the info you want, and just make...
are you asking to force the browser to show a login page when the session times out?
Usually, you have to wait until the user attempts to access something for you to catch that (ie, no client...
You can simply override the given default filter, look up the filter in the
package org.springframework.security.ui.logout;
I believe you can also do this using a pointcut but I haven't...
Yeah, that was the way I went. It actually ended up being somewhat overkill, I ended up in the end refactoring the class and passing/retrieving the file via a Resource that was injected in. Worked...
Ah, that's a great suggestion, thank you! (talk about trying to over-engineer a problem ;) )
The only problem I actually had was that creating a resource in that way, I couldn't correctly get to...
So my original problem here
http://forum.springframework.org/showthread.php?p=195793#post195793
I solved by implementing the ApplicationContextAware, which actually makes a lot of things more...
Is there a way to do this without the ServletContext?
Normally, if I had the servlet context, i would do a ServletContext.getResourceasStream() etc, but I'm using Spring2.5, and I have a class...
Yeah, kevin you hit that one on the head. I can't be 100% sure if that solved the issue or not (I ended up doing massive changes to the file), but that was indeed a big bug on my part.
thanks for...
Is there anyway to find what the name and version of the web container your war file is in?
Interesting...
So working with this today is there any reason why
<%= request.getUserPrincipal() %>
would work, but trying the following :
Coming from a struts app, I'm in need of a replacement for the logic tablib that is available in struts. In my setup (spring2.5/tiles2), I can't seem to find a decent replacement in finding out if a...
OK, not to seem like I'm having a conversation with myself..
but yeah, I was thinking of it too "spring oriented". The problem was my mapping to the servlet (url mapping of '/') which was...
When I try to directly go to the image, i get a :
Jul 18, 2008 3:17:41 PM org.springframework.web.servlet.DispatcherServlet noHandlerFound
WARNING: No mapping found for HTTP request with URI...
[SOLVED]
This seems like a ridiculous question to ask but is there a reason why my images do not show up?
Setup: Spring 2.5, Tiles2
Directory setup:
app/
app/img
app/WEB-INF/
Please post the solution if you can! :)
the tiles-def.xml file?
It is there, and it's pretty simple...
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE tiles-definitions PUBLIC
"-//Apache Software Foundation//DTD...
I know this is a general question, but does anyone know of a clear tutorial on how to set up a Spring2.5 / tiles2 setup?
my problem, I try to deploy my war file and when it gets to initilizing the...