0 Replies Latest reply on Feb 11, 2009 12:13 AM by John Ament

    Adding raised events to IdentityStores

    John Ament Master

      So I'm wondering if any of these would be useful; to anyone else...




      1. Add an event to authenticate and createUser methods that occurs earlier in the method, to preset values (ie password before hash, so we can set a generated password before the hash section of createUser).




      1. Instead of using Object user = userClass.newInstance(); try to find an @Factory(user) to create the object first.




      1. Currently, authenticate ends with return success; which won't work properly if we want to add custom extra auth checking in the method.  currently we'd have to throw an exception in the post auth observer to stop the authentication, which seems like a hack to me.