Search:

Type: Posts; User: jhazen; Keyword(s):

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    4,496

    Solution: Only changes required from default...

    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
  2. Replies
    6
    Views
    4,496

    No change.

    No change.
  3. Replies
    6
    Views
    4,496

    Existing Spring 3 controllers don't make use of a...

    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...
  4. Replies
    6
    Views
    4,496

    Using Spring 3 path variables

    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...
  5. Replies
    1
    Views
    564

    Gateway timeouts

    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...
  6. mvn gae:run Not from within STS and only seems...

    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...
  7. Replies
    4
    Views
    1,190

    Thanks Dave. I see in the documentation that...

    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...
  8. Replies
    4
    Views
    1,190

    Continuous Processing

    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...
  9. PrincipalAcegiUserToken hides original UserDetails

    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...
  10. Replies
    5
    Views
    1,113

    You could go a number of routes. The Acegi demo...

    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...
  11. Replies
    4
    Views
    1,347

    Take a look at the Acegi example application.

    Take a look at the Acegi example application.
  12. Thread: newbie question

    by jhazen
    Replies
    5
    Views
    1,203

    My guess would be that there was some problem...

    My guess would be that there was some problem initializing your webapp's context and that it never deployed. Check the log files.
  13. Thread: newbie question

    by jhazen
    Replies
    5
    Views
    1,203

    What is the content of the 404? Tomcat isn't...

    What is the content of the 404? Tomcat isn't able to find some file. Knowing what that is should help considerably.
  14. Replies
    5
    Views
    1,405

    Make sure your login page doesn't require secure...

    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...
  15. Replies
    4
    Views
    1,045

    Yes RememberMe uses a cookie. Could be your...

    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.
  16. Replies
    3
    Views
    5,153

    Does anyone know if Acegi is planning on adding...

    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...
  17. Replies
    4
    Views
    1,045

    I assume you're using CAS? Normal Acegi form...

    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. ...
  18. Replies
    4
    Views
    1,339

    Acegi doesn't limit the number of roles. You...

    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...
  19. Replies
    9
    Views
    2,139

    As far as I know Acegi doesn't support this out...

    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...
  20. Replies
    3
    Views
    5,153

    I've done a bit more digging and am starting to...

    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)...
  21. Replies
    2
    Views
    2,073

    It isn't hard to have your internal login error...

    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...
  22. Replies
    3
    Views
    5,153

    JBoss SSO + Acegi issue

    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...
  23. Replies
    13
    Views
    3,430

    Ok. SWF is on my list of things to play with...

    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...
  24. The tag has support for global...

    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...
  25. Replies
    2
    Views
    1,693

    I would suggest taking a look at:...

    I would suggest taking a look at:
    org.springframework.beans.factory.config.CommonsLogFactoryBean

    This sounds like the bean you're looking for.

    -Jim
Results 1 to 25 of 25