Search:

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

Search: Search took 0.04 seconds.

  1. Hi all, Although the factory bean could help...

    Hi all,

    Although the factory bean could help build list of provider during boot up, it looks hard to update the list to reflect any change of database except invoking deprecated method...
  2. Hi all, The root cause is method Assert.notNull...

    Hi all,
    The root cause is method Assert.notNull should be used instead of Assert.isNull.
    Then everything works fine.
    Best regards,
    Flik
  3. How to set authentication provider list for manager based on database record?

    Hi all,

    I am facing an issue to configure authentication manager by adding authentication providers according to database records.
    Our system will allow end user to configure external...
  4. Hi Rob, Many thanks for your reply. After...

    Hi Rob,

    Many thanks for your reply.
    After rebuilding and deploying, @PostFilter annotation works for me.
    Maybe it is due to page caching.

    Flik
  5. How to filter return collection of method with parameter by @PostFilter?

    Hi guys,

    I have a question whether @PostFilter works for method who has parameters.
    I have following code blocks when implementing ACL of Spring Security 3.1.0.
    In user business object interface...
  6. One update about the ClassCastException. After I...

    One update about the ClassCastException.
    After I consolidate the return types of all methods in DAO implementation to List<User> or User, all things work fine.
    Currently it is my only solution to...
  7. Things get more strange

    In my JSF backing bean the method login responding login process and the code is as following.


    public void loginUser() throws IOException, ServletException {

    FacesContext...
  8. following is the method which is reported wrong....

    following is the method which is reported wrong.


    30 public User loginUser(String strUserName, String strPassword) {
    31
    32 System.out.println("User Name: [" + strUserName + "]...
  9. You are right it really looks stronger and nice...

    You are right it really looks stronger and nice to use plain JPA. In future we are planning to introduce repository layer and We don't want to rely on EclipseLink to much.


    The debug element is...
  10. Is there any other approach? Thanks. Flik

    Is there any other approach?

    Thanks.
    Flik
  11. Hi guys, I get a walk around solution to...

    Hi guys,

    I get a walk around solution to postpone the injection of dao instance till the spring context is loaded.
    I create a new utility class which implements the interface of...
  12. Get NPE of EntityManager when customizing UserDetailsService with JPA (EclipseLink)

    Hi guys,

    I try to bring Spring (3.1.0) + Spring Security (3.1.0) + JSF (2.1.6) + JPA (EclipseLink 2.3.2) for our project.
    Firstly, I leverage the JdbcDaoImpl to query UserDetails from database...
Results 1 to 12 of 12