Search:

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

Search: Search took 0.10 seconds.

  1. Replies
    7
    Views
    3,782

    No problem, I filed a report in JIRA: ...

    No problem, I filed a report in JIRA:

    http://jira.springframework.org/browse/SPR-5052

    Please add to it if you have more details.
  2. Replies
    7
    Views
    3,782

    I tracked the source of my problem down to my...

    I tracked the source of my problem down to my test classpath including multiple folders w/the same classes. For example, my test classpath includes the following two folders:


    .testclasses
    ...
  3. Replies
    7
    Views
    3,782

    Tests stopped working w/2.5.5

    Hi,

    Getting the following error running our tests after upgrading from 2.5.3 to 2.5.5:


    org.springframework.beans.factory.BeanDefinitionStoreException:
    Unexpected exception parsing XML...
  4. To answer my own question

    I found it was simpler to create my own AuthenticationProvider which overrides the additionalAuthenticationChecks() method and checks to see if the supplied authentication details object is an...
  5. Allowing only programmatic login for certain accounts?

    I'm using Acegi to secure a webapp and allow both form and basic auth. Now I would like to create a specific type of account that cannot authenticate through either of these methods but can...
  6. Replies
    3
    Views
    1,129

    CREATE TABLE acl_class ( id SERIAL PRIMARY...

    CREATE TABLE acl_class (
    id SERIAL PRIMARY KEY,
    class CHARACTER VARYING(100) NOT NULL,
    CONSTRAINT acl_class_unique_class UNIQUE (class)
    );

    CREATE TABLE acl_sid(
    id SERIAL...
  7. Replies
    6
    Views
    1,143

    al0: AspectJ

    al0: AspectJ
  8. Replies
    6
    Views
    1,143

    Thanks karldmoore, upgrading to 2.0.4 cut the...

    Thanks karldmoore, upgrading to 2.0.4 cut the time spent configuring my domain objects to 1/3 what it used to be!

    al0, I use compile time weaving vs. load time weaving to inject dependencies into...
  9. Replies
    6
    Views
    1,143

    Improve dependency injection performance

    Hi All,

    I'm profiling an application that uses Spring 2.0.3, JDK5 and compile time weaving to inject dependencies into domain objects. What I'm seeing is that when many configurable domain...
  10. Replies
    19
    Views
    8,904

    Are you sure about the form:option limitations? ...

    Are you sure about the form:option limitations? I've stepped through a lot of code and it sure seems like it's trying to do more. If not, then why would anyone use it over a plain HTML option tag?...
  11. Replies
    19
    Views
    8,904

    I would really like to see an example of editing...

    I would really like to see an example of editing something like a User with a Set of Roles. I've tried everything I can think of to make this work using the form:select and form:option tag along...
  12. Replies
    19
    Views
    8,904

    Has anyone found a better workaround to this...

    Has anyone found a better workaround to this problem than the "New, more bulky design" above? The same thing happens with form:option and it makes me want to cry.
  13. Replies
    9
    Views
    8,781

    CustomCollectionEditor and form:options

    Hate to bring this up but after a day of failing to get this to work I could use some help.

    I have an "edit user" page where you edit some user properties and assign roles to the user. There is...
  14. Also, here's the bug in JIRA: ...

    Also, here's the bug in JIRA:

    http://opensource.atlassian.com/projects/spring/browse/SEC-422

    Vote for it!
  15. org.acegisecurity.acls.jdbc.BasicLookupStrategy.ja...

    org.acegisecurity.acls.jdbc.BasicLookupStrategy.java is broken. Here's the patch I used to build my own lookup strategy:


    --- BasicLookupStrategy.java 2007-02-18 09:38:03.000000000 -0600
    +++...
  16. Replies
    7
    Views
    1,276

    No, just pointing out that if you need to adjust...

    No, just pointing out that if you need to adjust the username used to search on ACLs (Which have their own cache) in addition to users you might give this a try.
  17. Replies
    7
    Views
    1,276

    More info

    This works great, but if you also need a unique username for ACLs I found it possible to implement a custom org.acegisecurity.acls.sid.SidRetrievalStrategy. In my version I create the PrincipalSid...
  18. Replies
    1
    Views
    930

    For what it's worth, I got around this for now by...

    For what it's worth, I got around this for now by creating my own version of BasicLookupStrategy w/queries that work with PostgreSQL. Not ideal, but it works.

    The bug is here:...
  19. Replies
    1
    Views
    930

    Override default JDBC ACL queries

    Hi All,

    Is is possible to override the default JDCB ACL queries defined in org.acegisecurity.acls.jdbc.BasicLookupStrategy? The query currently built in computeRepeatingSql() does not run in...
  20. Replies
    7
    Views
    1,276

    Which filter are you talking about? Also, I'm...

    Which filter are you talking about?

    Also, I'm looking at the ACL stuff now and seeing that usernames are used to identify recipients of permissions. Are other people using Acegi in applications...
  21. Replies
    7
    Views
    1,276

    Need more than just username for cache key

    Hi All,

    Our database contains users grouped by a parent object, say a company. Within each company user names are unique, but there can be duplicates across companies. We know at login which...
  22. Thread: Confused

    by tduffey
    Replies
    1
    Views
    918

    Confused

    Hi All,

    I'm looking at this example from the docs (2.6.2.8):


    <start-state idref="executeSearch"/>

    <action-state id="executeSearch">
    <bean-action bean="searchService"...
Results 1 to 22 of 22