Re: [Acegisecurity-developer] hibernate compatability ( blah blah blah )

2004-08-18 Thread bryan
Guys, I'm going to leave this topic, go off and start coding some of
your suggestions.
Thanks for all your assistance and I'll let you know if it all works out well. 

--b

On Tue, 17 Aug 2004 17:46:58 -0700, March, Andres [EMAIL PROTECTED] wrote:
 I agree.  We have easily extended the ACL classes at logical points to
 handle our business particulars.  The db schema was the first such
 issue.  From what I have read on this thread, your use cases are pretty
 simple and you just need to learn more about how to extend acegi at the
 right places.  The docs are pretty good for any software but the test
 cases are great.
 
 
 
  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED] On Behalf
 Of
  Ben Alex
  Sent: Tuesday, August 17, 2004 5:35 PM
  To: [EMAIL PROTECTED]
  Subject: Re: [Acegisecurity-developer] hibernate compatability ( blah
 blah
  blah )
 
  Oliver Hutchison wrote:
 
  Using hibernate it is possible to do the following ( pseudo code )
  
  SalesPerson salesPerson = hibernate.find( SalesPerson as
  salesperson where salesperson.id = 1);
  
  
  
  
  Why not just use the username (which should be unique) to lookup the
  SalesPerson?
  
  SalesPerson salesPerson = hibernate.find( SalesPerson as
  salesperson where salesperson.username = ?, user.getUsername());
  
  Assuming there's and index on username performance would not be an
  issue.
  
  Ollie
  
  
  
  Hi Bryan
 
  I am inclined to agree with Ollie. Your other requirement (the last 20
  users who signed up) could be equally as effectively addressed by an
  additional indexed column, createdDate. Acegi Security has no problems
  with you adding additional columns to the schema (or backend) managed
 by
  an AuthenticationDao. You can even return such additional details in
 the
  UserDetails implementation returned by the AuthenticationDao.
 
  I do not believe any of your use cases could not be effectively and
  modularly accommodated using the existing Acegi Security packages. Its
  usefulness for your authentication needs is beyond a doubt. The ACL
 side
  is a little grayer, simply because the ACL packages are quite new.
  Having said that, I am fairly confident they'd meet your needs as
  described in my earlier email. The ACL packages are reasonably
 flexible
  if you really wanted to completely re-engineer the schema: check the
  list archives for a recent discussion between Andres March and myself
  about this.
 
  In relation to remoting integration, as you may have noticed in the
  Contacts sample application, Acegi Security provides support for this
  via its BASIC authentication filter. In addition, there is a new RCP
  package which can be helpful for ensuring a valid login request has
  happened at the client end. Check out the Petclinic RCP sample (part
 of
  the spring-rcp project) to see this in use.
 
  I'd suggest trying to integrate authentication without worrying about
  the ACL side. Then, once you see that working, review how the included
  ACL packages work. It will be a lot clearer when you understand the
  place where the method security interceptors, ContextHolder,
  AuthenticationDao, and AccessDecisionVoters fit into the bigger
 picture.
  Of course we're also happy to continue helping you on-list.
 
  Best regards
  Ben
 
 
 
  ---
  SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
  100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
  Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
  http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
  ___
  Acegisecurity-developer mailing list
  [EMAIL PROTECTED]
  https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer
 
 ---
 SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
 Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
 http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
 ___
 Acegisecurity-developer mailing list
 [EMAIL PROTECTED]
 https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer



---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer


[Acegisecurity-developer] Back again/acegi quick start application

2004-08-18 Thread administrator
Hi there,
I've got my mind clear now about what I have to do with this stuff.
I have to say that the method interception is something I'm absolutely
crazy about.
I've modified the quick start application a bit and now I think that
it may be slightly more useful to those who are getting started.
You can get my changed version from
http://revoltingdigits.com/code/downloads/projectfiles/index.php
My own nightly version of my application is now ageci wired
( I just havent bothered implementing the authenticationDAO yet )
It can be downloaded from http://jestate.revoltingdigits.com
Thank you all
--b
---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
Acegisecurity-developer mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/acegisecurity-developer