Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. How to Set Static Properties?

    Does anyone know how to set static properties using annotation configurations, i.e. @Service and @Value?
  2. Replies
    1
    Views
    452

    Sending and Receiving Messages/Objects

    I'm trying to perform asynchronous message exchanges, but I'm getting the following error:


    Anyone know how to correctly receive and convert the message?

    I've setup a MessageListenerAdapter...
  3. I agree, the Spring documentation is very well...

    I agree, the Spring documentation is very well put together and I do check the relevant documentation before posting. Unfortunately, when I looked through the documentation yesterday I inexplicably...
  4. Possible to Use XML and Java Based Configurations?

    Is it possible to use java based configuration (@Configuration/@Bean) while also using xml based configurations? Essentially, there are a few new configurations I need to set in my web applications...
  5. What is Causing the Destruction of Singletons in the DefaultListableBeanFactory?

    When I deploy my war file to my tomcat instance, the tomcat log files indicate that Spring creates and injects the various beans declared in the various context files of my application. However, once...
  6. Replies
    1
    Views
    2,904

    RabbitMQ + Spring AMQP Configuration

    I'm currently using ActiveMQ and want to try out RabbitMQ; to that end I need some clarification on the following:


    Can I use...
  7. Replies
    1
    Views
    1,079

    Groovy in css files

    Is it possible to embed groovy into css files? If so, I'd appreciate examples and/or links to documentation on how to do so. I stumbled upon Burt's famfamfam plugin and I'm curious as it seems that...
  8. Replies
    7
    Views
    4,551

    I foolishly stopped at section 3.7.1; I certainly...

    I foolishly stopped at section 3.7.1; I certainly need to read the user guide more thoroughly.

    In any event, thanks again for the help.
  9. Replies
    7
    Views
    4,551

    Thanks for the link. However, prior to submitting...

    Thanks for the link. However, prior to submitting my OP, I reviewed the user guide. As I understand it, only non-grail required (transitive) dependency's can be 'excluded.' I was curious if there was...
  10. Replies
    7
    Views
    4,551

    [Resolved] How to exclude specific depedency version

    My grails (1.3.5) app contains both slf4j versions 1.5.8 & 1.6.1; thus
    resulting in a version clash (see below).

    I believe grails uses version 1.5.8 and another app dependency uses 1.6.1. How...
  11. I was able to 'resolve' the issue by repeating...

    I was able to 'resolve' the issue by repeating the following steps 3 times:


    Refresh deps
    Clean the grails build
    Clean the project
    Compile the grails app


    I guess STS was just being...
  12. STS is complaining about the "missing"...

    STS is complaining about the "missing" dependency.

    I've tried refreshing the dependencies, but the problem persists. Oddly, I can 'run-app' from STS and the app compiles and runs fine. Any other...
  13. After dependency update STS not recognizing dependency

    Yesterday, I changed a dependency to it's current version number. After executing 'run-app', STS (version 2.5.1) indicated that the needed classes where missing. I've checked the ivy2 cache and the...
  14. Replies
    3
    Views
    1,583

    I tried using the netbeans ivy plugin, but that...

    I tried using the netbeans ivy plugin, but that didn't work so I gave up and started using STS.
  15. Replies
    3
    Views
    1,583

    Using ivy2 cache with IDE

    I created a grails app from the command line. While I'm able to import the app into Netbeans IDE 6.9.1, the IDE does not recognize the ivy 2 cache and thus the IDE does not recognize the app's...
  16. Spring Security CAS plugin error when deploying to Tomcat

    When I deploy my Grails (version: 1.3.5) application war to a Tomcat (version: 6.0.26), I get the following error:


    Oddly, when I run my app via: grails prod run-app or grails prod run-war...
  17. Replies
    7
    Views
    3,984

    Thanks for the explanation; from it I was able to...

    Thanks for the explanation; from it I was able to configure spring-security-core (with custom UserDetails & UserDetailsService) and spring-security-cas.

    I had previously reviewed the docs for...
  18. [resolved]

    From the debug session I found out that requireAuthentication() was returning false. It was returning false, because I incorrectly included application context paths in the ticket validator and...
  19. Replies
    7
    Views
    3,984

    Configuring Spring Security Core Plugin

    I'd like to secure my grails application with the spring-security-core and spring-security-cas plugins. However, I'm unsure how to map my db tables to the 3 required domain classes. Can anyone...
  20. Thanks. Sure, I'll shortly zip up a...

    Thanks.


    Sure, I'll shortly zip up a bare-bones example app that demonstrates the issue and attach it to a JIRA issue.
  21. @burtbeckwith: Thanks for the example, from it I...

    @burtbeckwith: Thanks for the example, from it I was able to figure out that the applicationContext-security.xml needed to be in the web-app/WEB-INF/ directory; I was placing it in the...
  22. I'm relying on the security namespace to create...

    I'm relying on the security namespace to create the 'springSecurityFilterChain' bean:



    <sec:http auto-config="true" entry-point-ref="casAuthEntryPoint">
    <sec:custom-filter...
  23. Below is the web.xml file. Most of the...

    Below is the web.xml file. Most of the configurations are defaults; I added: Spring Security Filter, Spring Security Filter Mapping and Spring Security concurrent session management listener.

    ...
  24. Struggling with how Grails applications are loaded/bootstrapped

    I'm struggling with configuring Spring Security CAS for Grails; I believe the cause of my troubles is (my lack of understanding of) how Grails applications are bootstrapped/loaded. I tried two...
  25. I believe the root problem is the...

    I believe the root problem is the authenticationUserDetailsService. I've tried configuring it using a custom UserDetailsService and a custom JdbcDaoImpl and in either case startup fails. Following is...
Results 1 to 25 of 47
Page 1 of 2 1 2