Search:

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

Page 1 of 2 1 2

Search: Search took 0.02 seconds.

  1. Replies
    3
    Views
    1,940

    still frustrated...

    I posted the question a while ago but got no response. I would think this is a common use case. For example, if a user login the web application as "johnsmith", check out/update/check in a document,...
  2. Replies
    3
    Views
    1,940

    Change Credentials in JcrSessionFactory

    I have a web application built on top of spring-modules 0.8 and jackrabbit 1.3. When users login the web application, they are authenticated by usernames/passwords stored in a database, which is not...
  3. Replies
    2
    Views
    1,257

    springmodules jackrabbit end-user login

    OK. I was trying to pass the end-user credentials to JcrSessionFactory but ran into exceptions. Not sure what went wrong. I tried allowCreate with both true and false for JrTemplate config. Same...
  4. Replies
    2
    Views
    1,257

    JAAS authentication with end-user identity

    This is from JSR-170 spec.

    "By providing a signature of Repository.login that does not require Credentials, the content repository allows for authorization and authentication to be handled by...
  5. Replies
    2
    Views
    1,257

    jackrabbit dynamic login

    I setup springmodules 0.8 + jackrabbit 1.3 and it works fine. The username/password to connect to jackrabbit is the config file as below. My next step is to enhance the access control: verify if user...
  6. Replies
    10
    Views
    11,843

    I had the same problem but it was fixed after I...

    I had the same problem but it was fixed after I specified the form action. For example, <form method="post" action="search.htm">
    HTH.
  7. "myManagerTarget" does not implement any...

    "myManagerTarget" does not implement any interface. Then I realized it should, after reading your post. So I refactored the code to create interface "MyManager" and its implementation...
  8. Spring BeanCreationException, maven2 & cobertura

    My application has some JUnit tests and Spring integration tests (with the help of org.springframework.test package). I ran the tests in maven2 by "mvn surefire:test" and they worked fine. Now I am...
  9. Replies
    6
    Views
    6,835

    Another thought on this one. I keep all...

    Another thought on this one. I keep all web-related bean definitions, such as Spring MVC controller, in myapp-servlet.xml. Naturally I want to add MyFilter in it, too. If I have to keep MyFilter in...
  10. Replies
    6
    Views
    6,835

    Well said! Thanks a lot.

    Well said! Thanks a lot.
  11. Replies
    6
    Views
    6,835

    This is exactly what I missed. I should have read...

    This is exactly what I missed. I should have read that more carefully. Now what is the intention having this true/false switch? I mean, what is a use case that I want to set targetFilterLifecycle to...
  12. Replies
    6
    Views
    6,835

    DelegatingFilterProxy questions

    I got Filter & DelegatingFilterProxy work with the great help of this post
    http://forum.springframework.org/showthread.php?t=20230&highlight=filter+interface

    But a couple of questions remain....
  13. Replies
    6
    Views
    1,313

    I only looked up Spring config file when I was...

    I only looked up Spring config file when I was asked to check if there was any autowire. I forgot to mention that my test cases extend AbstractTransactionalDataSourceSpringContextTests. And I...
  14. Replies
    6
    Views
    1,313

    I have only on config file and it doesn't have...

    I have only on config file and it doesn't have any autowire definition. In addition,
    the DTD said, "Note that explicit dependencies, i.e. "property" and "constructor-arg" elements, always override...
  15. Replies
    6
    Views
    1,313

    Thank you for your reply. No, I did not. What...

    Thank you for your reply.

    No, I did not. What should I set it as?
  16. Replies
    6
    Views
    1,313

    problem using multiple datasources

    I have problem using two datasources in my application. I need the two datasource connecting to two different databases (but no need for transaction, though).

    Here is the error message when I ran...
  17. Replies
    8
    Views
    1,565

    I was trying to use GeneratedKeyHolder to deal...

    I was trying to use GeneratedKeyHolder to deal with the same problem: insert/trigger/new_id. Initially, I used the Oracle9.2 jdbc driver, ojdbc14.jar. The error was ORA-17023: Unsupported feature. It...
  18. Replies
    7
    Views
    1,703

    Thank you for pointing out the workflow and the...

    Thank you for pointing out the workflow and the usage of SimpleFormController. That helps tremendously. I figured out a work around with HttpSession. Thanks again.
  19. Replies
    7
    Views
    1,703

    I have been using Spring for a while but new to...

    I have been using Spring for a while but new to Spring MVC. So I tried to follow the examples. It seems that all the examples are redirecting to the successView upon submission. What other options do...
  20. Replies
    7
    Views
    1,703

    Thanks for your reply. I set sessionForm to true....

    Thanks for your reply. I set sessionForm to true. But even with sessionForm as true, isn't formBackingObject() always called and thus a new instance created? I checked the session in...
  21. Replies
    7
    Views
    1,703

    getSuccessView() and formBackingObject()

    I want to have a select list (names of database tables) on top of the page. Below that it is a list of records/values for the selected table. When a user chooese a different table name in the select...
  22. Replies
    10
    Views
    3,752

    my bad

    stupid me. the error is actually on another part of the JSP code. the page works fine after I took out that piece. sorry about that. thanks again.
  23. Replies
    10
    Views
    3,752

    here is the code

    Thank you for your help. Here is the code. By the way, I wonder if I missed something special for AbstractWizardFormController. Similar code works fine for SimpleFormController.

    public class...
  24. Replies
    10
    Views
    3,752

    referenceData

    Thank you very much for pointing me to the example.

    In EditPetForm.jave, there is refereceData() method as
    protected Map referenceData(HttpServletRequest request) throws ServletException {
    Map...
  25. Replies
    10
    Views
    3,752

    bind a dynamic drop-down list

    I have an HTML form which has a drop-down list (indexed properties). The values of the list are retrieved from the database. How do I bind the list? Is there an example? Thanks.
Results 1 to 25 of 27
Page 1 of 2 1 2