Search:

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

Page 1 of 5 1 2 3 4

Search: Search took 0.03 seconds.

  1. Click "More >>" right below the latest GA release...

    Click "More >>" right below the latest GA release for Spring Framework.
  2. First, remove schema.xsd from your...

    First, remove schema.xsd from your @ContextConfiguration annotation. The annotation is for Spring configuration files. The XSD is for something else.

    That should get rid of the error. I don't know...
  3. Replies
    6
    Views
    695

    Please use [CODE ][/ CODE] tags in the future. :)...

    Please use [CODE ][/ CODE] tags in the future. :)

    Hibernate-based data source? Java/JBoss/Spring can be a bit picky about multiple versions of Hibernate (one in server lib, another in application...
  4. Replies
    6
    Views
    695

    Is this a NoClassDefFoundError? If so, could you...

    Is this a NoClassDefFoundError? If so, could you provide the first few lines of the stack trace?
  5. Replies
    6
    Views
    695

    It sounds to me like it probably has more to do...

    It sounds to me like it probably has more to do with JBoss's classpath than Spring. What version of JBoss are you using? Is the application deployed as a WAR? Is the class for bean B from a class...
  6. Replies
    1
    Views
    308

    Yes, Apache Commons Logging is required for...

    Yes, Apache Commons Logging is required for Spring. It is a Java classpath dependency because the Spring code directly calls the commons logging API's. Your code may not need to use logging, but...
  7. Yep. It's working now. Thanks.

    Yep. It's working now. Thanks.
  8. Unable to download Spring Security 3.0.7.

    The 3.0.6 and 3.0.7 downloads do not seem to be working from the download page. However, I can download 3.0.5 just fine.

    Firefox 6.0.2 shows me errors like the following:

    <Error>
    ...
  9. Solution did not work for me.

    I am having the same issue under JBoss, and the above solution did not work for me. It just gave me a bigger stack trace.

    Recently our DBA set the database to QUIESCE mode (closes all user...
  10. Replies
    8
    Views
    1,587

    Wow, this is very strange. I just tried this in...

    Wow, this is very strange. I just tried this in one of my applications, and it did the same thing. It forwarded to the home page instead of the page linked to. My app is behind CAS authentication....
  11. Replies
    8
    Views
    1,587

    Is the second capture one that works?

    Is the second capture one that works?
  12. Replies
    1
    Views
    412

    HTTP Session

    To detect when the HTTP session is destroyed, see http://forums.java.net/jive/thread.jspa?messageID=237010.
  13. Replies
    2
    Views
    704

    If I understand correctly, you want to...

    If I understand correctly, you want to simultaneously support multiple authentication mechanisms. See http://forum.springsource.org/showthread.php?t=73194 for more information.
  14. Replies
    1
    Views
    574

    To invalidate the entire HTTP session use: ...

    To invalidate the entire HTTP session use:



    request.getSession().invalidate();
  15. Replies
    3
    Views
    638

    Pdf

    The PDF is included with the project.
  16. Yeah, I ran into that problem too. In my case I...

    Yeah, I ran into that problem too. In my case I was able to get around it because empty string worked as a valid "null" case for me, and I just wrote my code to interpret empty string the same way...
  17. I set up my PropertyPlaceholderConfigurer like...

    I set up my PropertyPlaceholderConfigurer like so:



    <bean class="org.springframework.beans.factory.config.PropertyPlaceholderConfigurer">
    <property name="locations">
    <list>
    ...
  18. Replies
    2
    Views
    1,555

    You could use a normal class for storing your...

    You could use a normal class for storing your GrantedAuthorities while storing those objects as instances of your enum if you merely want a single place which "lists" them.
  19. Thread: IOC Definition

    by Bron
    Replies
    6
    Views
    4,575

    That is correct.

    That is correct.
  20. You don't have to duplicate the pages, just the...

    You don't have to duplicate the pages, just the servlet mappings. You can map to URL's to the same controller.
  21. Thread: IOC Definition

    by Bron
    Replies
    6
    Views
    4,575

    Spring Dependency Injection

    Your wording was a bit confusing to me, but I think you're getting there. Allow me to clarify one of your points.



    You are exactly correct in that A needs to use B, but A doesn't create B. ...
  22. Using different paths for different...

    Using different paths for different authentication types smells fishy to me, but I'm not sure if there is a much better idea. Are the pages all unique to a single type of authentication? For...
  23. Replies
    3
    Views
    638

    The sample applications just use core, taglibs,...

    The sample applications just use core, taglibs, and acl (and one of them uses tiger for Java 5 features). Most of the other library are for specific features or application servers.

    In the 2.0.4...
  24. Thread: Advice

    by Bron
    Replies
    4
    Views
    662

    Sledgehammer for a nail? Depends on how...

    Sledgehammer for a nail? Depends on how important security is for you. Spring Security certainly simplifies things.

    Simpler Java solutions? Probably. I haven't pursued this.

    Free? Yes ......
  25. Session expiration

    Session expiration should happen automatically. You can configure the session timeout in minutes in web.xml like so:



    <session-config>
    <session-timeout>30</session-timeout>
    ...
Results 1 to 25 of 123
Page 1 of 5 1 2 3 4