Search:

Type: Posts; User: David Carter; Keyword(s):

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    1,988

    That's actually the issue I entered, after the...

    That's actually the issue I entered, after the post above in this thread. Can you or one of the other committers take a look at the attached patch & let me know if it looks okay?

    I used Spring's...
  2. Replies
    9
    Views
    1,988

    Ben, Is there any reason not to implement...

    Ben,

    Is there any reason not to implement message string externalization using resource bundles? Performance concerns?

    It seems that doing this for the various implementors of...
  3. The best way to avoid having to check for...

    The best way to avoid having to check for "instance of UserDetails" in your code is to have your User/Principal/Authentication class implement UserDetails. Then the rest of your code can stay...
  4. Subclass User, or write your own principal class...

    Subclass User, or write your own principal class that implements UserDetails, and include your collection of league IDs as a property of User. Then you can use something like

    Set leagues =...
  5. Matt, I've seen code in some places in Acegi...

    Matt,

    I've seen code in some places in Acegi (the authz taglib & DaoAuthenticationProvider are two) that return:


    username = authentication.getPrincipal().toString()

    if the Principal is...
  6. Replies
    9
    Views
    1,988

    I believe each exception has a single message,...

    I believe each exception has a single message, but exceptions may be nested, in the typical Spring manner:
    ...
  7. Replies
    11
    Views
    4,730

    I would model this as a "contains" relationship...

    I would model this as a "contains" relationship between permission groups. In other words, store the groups in a "group" table & have a "parent group" attribute that refers to the same "group" table....
  8. Replies
    9
    Views
    1,988

    I haven't looked at the code to see if they are...

    I haven't looked at the code to see if they are I18N-capable, but there are also strings returned within the exceptions that can be thrown during authentication: BadCredentialsException,...
  9. This is one of the reasons it's generally...

    This is one of the reasons it's generally recommended that ALL database tables have synthetic primary keys rather than using the unique business key (username in this case) as the primary key.
    ...
  10. Replies
    11
    Views
    4,730

    Yes, this is a testament to the flexibility &...

    Yes, this is a testament to the flexibility & extensibility of the Acegi design. Good job!



    Not just ASPs, but also enterprise-scale applications for internal corporate deployment. I've been...
  11. Replies
    11
    Views
    4,730

    I agree with the other posters on this thread -...

    I agree with the other posters on this thread - in enterprise-scale applications it is extremely common to provide administrative users with an ability to create "roles" or "permission groups" that...
  12. Replies
    31
    Views
    9,233

    Yes, that would be useful. This could also...

    Yes, that would be useful.



    This could also be useful. A related requirement I often see is the need to persist to the database the last login date/time & IP address. Displaying this to the...
  13. Replies
    31
    Views
    9,233

    Do we have a way to perform an invalidate() on...

    Do we have a way to perform an invalidate() on the LRU HTTPSession? AFAIK, this is a method on the same interface as getLastAccessedTime(). Is there another way to accomplish the invalidation of the...
  14. concurrentSessionController cluster-aware?

    Will the current concurrentSessionController implementation work in a clustered environment?

    I see that it uses in-memory collections to store lists of sessions & their related principals, so...
  15. Replies
    31
    Views
    9,233

    It appears that we can get the last access time...

    It appears that we can get the last access time for a session with HTTPSession.getLastAccessedTime().

    So, in ConcurrentSessionControllerImpl.enforceConcurrentLogins, we could have something like:...
  16. Replies
    31
    Views
    9,233

    This sounds like it should be fairly easy to...

    This sounds like it should be fairly easy to implement. I'm not sure when I'll have time to investigate more fully, but if we get to this before anyone else posts a solution (or submits a patch),...
  17. Replies
    31
    Views
    9,233

    I agree that the behavior as described is not...

    I agree that the behavior as described is not what most users will expect, nor what most applications will want to implement. The support desk calls will be horrendous. "I'm sorry sir, you'll have to...
  18. Replies
    7
    Views
    2,764

    ConcurrentSessionControllerImpl Configuration Example?

    I think my property nesting was incorrect in my previous post.

    trustResolver is a property of sessionController, not of authenticationManager:



    <bean id="authenticationManager"...
  19. Replies
    7
    Views
    2,764

    ConcurrentSessionControllerImpl Configuration Example?

    Could someone please provide an example of how to configure the new ConcurrentSessionController feature?

    I checked the reference doc & the 0.80 version of the contacts application, but it doesn't...
Results 1 to 19 of 19