Solution:
Only changes required from default 1.3.7 grails new-app (No updates to UrlMappings, no .dispatch in request uri):
grails install-templates
add the following to web.xml
Type: Posts; User: jhazen; Keyword(s):
Solution:
Only changes required from default 1.3.7 grails new-app (No updates to UrlMappings, no .dispatch in request uri):
grails install-templates
add the following to web.xml
No change.
Existing Spring 3 controllers don't make use of a params variable and I'd like to use the existing code without modifications if possible.
Also, when I try and inject the params variable as if it...
I'm playing with Grails and trying to port an existing Spring 3 app.
I'm having trouble with @RequestMapping and @PathVariables of the following form:
@Controller...
The 2.0.0M7 schema support indicates that gateways throw exceptions on timeout. They appear to actually return null and never throw exceptions.
I'm not sure which is correct, but I need to have...
mvn gae:run
Not from within STS and only seems to work with a GWT controller. Embedded Jetty seems to hang on JSP generated scaffolds. I'm looking for a better answer myself. Hope this helps in...
Thanks Dave. I see in the documentation that there are examples of the infinite loop scenario. However in looking over the 2.1.0RC1 codebase I'm only able to find an unreferenced...
At its core, Spring Batch is focused on Job processing in general and the specifics of batch jobs in particular. Jobs are parametrized and have a formal beginning and end.
Are there suggested...
I'm using a container authentication adapter (JBoss) that uses PrincipalAcegiUserToken internally. While the adapter has access to the authenticated Authorization object, it doesn't have a way of...
You could go a number of routes. The Acegi demo application demonstrates some of the Acegi taglibs for getting role and acl information. It's probably simplest to use those plus some conditional...
Take a look at the Acegi example application.
My guess would be that there was some problem initializing your webapp's context and that it never deployed. Check the log files.
What is the content of the 404? Tomcat isn't able to find some file. Knowing what that is should help considerably.
Make sure your login page doesn't require secure access. That's the easiest way I've found to infinite loop.
If you are overriding 403 error pages be careful where you send users. Kicking them...
Yes RememberMe uses a cookie. Could be your problem, check what cookies you have from your app. If I remember right, the remember me cookie has a pretty obvious name.
Does anyone know if Acegi is planning on adding support for getting principal information form the web context and role info from a configured DAO?
I'd like an app server to provide authentication...
I assume you're using CAS? Normal Acegi form authentication should expire when the session goes away.
With CAS maybe remove the cookie that Acegi looks for to match browser with secure context. ...
Acegi doesn't limit the number of roles. You could simply have a role, company A user, company B user, etc. In addition to working for a given company these users can have other roles as well...
As far as I know Acegi doesn't support this out of the box. The easiest way to achieve such functionality would probably be to write an event listener similar to Acegi's LoggerListener. You could...
I've done a bit more digging and am starting to see why this isn't working and why it can never work given Acegi's current functionality.
Basically the problem is, how to give a single (JBoss)...
It isn't hard to have your internal login error page contain a JSTL redirect to another external login page. If that is your only requirement, there ya go. If on the other hand you need that...
Hello all,
Here is my business/technical need. I need to be able to take advantage of JBoss SSO and clustering. I would also like to take advantage of Acegi. As far as I know, the only way to...
Ok. SWF is on my list of things to play with (maybe later today), so I'm talking out my arse. But...
Could you build something into SWF like SMVC's HandlerExceptionResolver + WF? Basically the...
The <spring:bind> tag has support for global errors as well as ones bound to a field. My guess is that you'd like to set a global error as a result of some logic in the form controller.
In this...
I would suggest taking a look at:
org.springframework.beans.factory.config.CommonsLogFactoryBean
This sounds like the bean you're looking for.
-Jim