[Acegisecurity-developer] Custom attributes on User Object

2004-06-06 Thread Shishir K. Singh
Hello, How do I access some attributes (like email Id's etc )on the my User object in addition to the userName, password and granted authorities as existing on the ACEIG User object, . Right now, I am querying the database and getting my User object separate from the Authentication object of ACEI

RE: [Acegisecurity-developer] Custom attributes on User Object

2004-06-06 Thread Shishir K. Singh
Thanks Ben, I have taken the 2nd approach. i.e have another method on the interface called UserInfo that contains all info sans the password. However, I think that this becomes a bit messy (imo :)) . What I was thinking was : Since getPrincipal already has a signature of Object, why can't it b

RE: [Acegisecurity-developer] Custom attributes on User Object

2004-06-07 Thread Shishir K. Singh
Yup. Exactly. This way, I still can subclass the Existing User and not have to worry about breaking anything. Thanks Shishir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Alex Sent: Monday, June 07, 2004 3:09 AM To: [EMAIL PROTECTED] Subject: RE: [A

RE: [Acegisecurity-developer] Custom attributes on User Object

2004-06-07 Thread Shishir K. Singh
instead of having to use the DefaultUserImpl. This way, you can easily manage the password. Thanks Shishir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shishir K. Singh Sent: Monday, June 07, 2004 3:23 AM To: [EMAIL PROTECTED] Subject: RE

[Acegisecurity-developer] Compilation error

2004-06-07 Thread Shishir K. Singh
I am trying to compile the source code  as downloaded from the sourceforge  acegi-security-0.51-with-dependencies.zip. However, on running the alljar task, I get this error:  Buildfile: C:\Downloads\acegi-security-0.51\build.xml [taskdef] Could not load definitions from resource clovertasks

[Acegisecurity-developer] Password Synchronization

2004-06-07 Thread Shishir K. Singh
I was wondering as to how to approach the password synchronization??   The use case is:   a) There is an enterprise wide authentication system vide the LDAP. b) There's a custom web application that maintains it's own user list and roles (say local user list). Only if the users exist in the

RE: [Acegisecurity-developer] Custom attributes on User Object

2004-06-07 Thread Shishir K. Singh
> I'm not clear how managing the password would be easier in this situation? As long as the getPassword semantic is maintained, I guess it does not matters. Shishir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Alex Sent: Monday, June 07, 2004 5:06

[Acegisecurity-developer] URL redirection when session expires

2004-06-09 Thread Shishir K. Singh
Hi, When the session expires, the login screen comes up (if I try to click some link). However, it tries to redirect me (as it should) to the page that I was trying to access. Since I was storing some objects in the session to display in this new page, they are no longer there since this is a

RE: [Acegisecurity-developer] URL redirection when session expires

2004-06-09 Thread Shishir K. Singh
Hi Ben, I think ignoreRedirectUrl is good idea. Enhancing on that, would it make sense to have a property type attribute , which will have a key URL and the URL that needs to be redirected to. If the existing URL ends with any one of the above, then redirect to the valid url as defined in the

RE: [Acegisecurity-developer] Is Authentication not really Serializable?

2004-07-13 Thread Shishir K. Singh
Ben, I was wondering if the context variable in DaoAuthenticationProvider could be made protected or better yet, have a getContext() method. Sub classes extending the provider then can provide their own custom events if necessary. Thanks Shishir -Original Message- From: [EMAIL PROTE

RE: [Acegisecurity-developer] Is Authentication not really Serializable?

2004-07-13 Thread Shishir K. Singh
Same goes for forcePrincipalAsString. -Original Message- From: Shishir K. Singh Sent: Tuesday, July 13, 2004 10:15 AM To: '[EMAIL PROTECTED]' Subject: RE: [Acegisecurity-developer] Is Authentication not really Serializable? Ben, I was wondering if the context v

RE: [Acegisecurity-developer] Is Authentication not really Serializable?

2004-07-13 Thread Shishir K. Singh
Thanks. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Alex Sent: Tuesday, July 13, 2004 6:10 PM To: [EMAIL PROTECTED] Subject: Re: [Acegisecurity-developer] Is Authentication not really Serializable? Hi Shishir Shishir K. Singh wrote: >S

[Acegisecurity-developer] Uisng Acegi with Netegrity's Site Minder singlesignon

2004-07-22 Thread Shishir K. Singh
Hi,   Has anyone tried to integrate the propriety Netegrity SiteMinder single sign on  ( http://www.netegrity.com/products/products.cfm?page=SMoverview  ) with Acegi security.   If so , any pointers on how to implement this would be appreciated.   Thanks Shishir

[Acegisecurity-developer] removeCache in UserDetails

2004-08-18 Thread Shishir K. Singh
I was wondering if the method public void removeUserFromCache(String username) { cache.remove(username); } In EhCacheBasedUserCache can be made implement able i.e moved to UserCache interface. Thanks Shishir --- SF.Net em

[Acegisecurity-developer] Sourceforge CVS

2004-08-20 Thread Shishir K. Singh
Is something wrong with the source forge cvs access (anonymous) to acegi module. Can't seem to get through for the last two days. Shishir --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only

[Acegisecurity-developer] Problems when trying to deploy contacts.war on JRun

2004-08-31 Thread Shishir K. Singh
Hi, I am running into issues when deploying the contacts.war on Jrun. It works fine when deployed on tomcat. Here's starting the stack trace from the Jrun console.

RE: [Acegisecurity-developer] Problems when trying to deploy contacts.war on JRun

2004-08-31 Thread Shishir K. Singh
31, 2004 7:37 PM To: [EMAIL PROTECTED] Subject: Re: [Acegisecurity-developer] Problems when trying to deploy contacts.war on JRun Shishir K. Singh wrote: >Hi, > >I am running into issues when deploying the contacts.war on Jrun. It >works fine when deployed on tomcat. Here's sta

RE: [Acegisecurity-developer] Problems when trying to deploy contacts.war on JRun

2004-09-01 Thread Shishir K. Singh
Shishir K. Singh wrote: >Ben, > >Even if I use ContextLoaderServlet, won't the filters get created >before ContextLoaderListener. In that case, the "init" of the filters >will be called even before the Spring contex

RE: [Acegisecurity-developer] Problems when trying to deploy contacts.war on JRun

2004-09-01 Thread Shishir K. Singh
Ben, One small thingy...on line 94 of FilterToBeanProxy, you may want to check if the delegate is not null before destroying. Thanks Shishir -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Shishir K. Singh Sent: Wednesday, September 01, 2004 1:38 PM

[Acegisecurity-developer] Authz taglibs for freemarker

2004-09-02 Thread Shishir K. Singh
Ben, Is there any work going on to port the authorization taglibs to freemarker tags ? Thanks Shishir --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Wo

RE: [Acegisecurity-developer] Authz taglibs for freemarker

2004-09-02 Thread Shishir K. Singh
] Subject: Re: [Acegisecurity-developer] Authz taglibs for freemarker Shishir K. Singh wrote: >Ben, > >Is there any work going on to port the authorization taglibs to >freemarker tags ? > >Thanks >Shishir > > > Not as far as I know. Besides, doesn't everyon

RE: [Acegisecurity-developer] Release 0.61

2004-09-24 Thread Shishir K. Singh
+1 for Apache guidelines. +1 for 0.6.1 -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Matinata Sent: Friday, September 24, 2004 11:39 AM To: [EMAIL PROTECTED] Subject: Re: [Acegisecurity-developer] Release 0.61 IMHO : +1 for Apache guidelines.

RE: [Acegisecurity-developer] Vote: Change to build system and CVS layout

2004-10-20 Thread Shishir K. Singh
Okay with it , though I am not too fond of maven :) -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ben Alex Sent: Tuesday, October 19, 2004 7:48 AM To: [EMAIL PROTECTED] Subject: Re: [Acegisecurity-developer] Vote: Change to build system and CVS layout B

[Acegisecurity-developer] RE: AbstractProcessingFilter

2004-11-16 Thread Shishir K. Singh
Thanks. That clears it. -Original Message- From: Ben Alex [mailto:[EMAIL PROTECTED] Sent: Tuesday, November 16, 2004 4:36 PM To: Shishir K. Singh; [EMAIL PROTECTED] Subject: Re: AbstractProcessingFilter Shishir K. Singh wrote: > Hi Ben, > > Tried posting this on "[E

[Acegisecurity-developer] RE: [Springframework-user] Acegi Security - new release 0.7.0

2005-01-21 Thread Shishir K. Singh
Ben, I believer AutoIntegrationFilter is no longer available in 0.7. Could you please update the "Upgrading to 0.7.0" link on ACEGI site mentioning the same. I guess instead of AutoIntegrationFilter , we can use either HttpRequestIntegrationFilter or HttpSessionIntegrationFilter. Thanks Shishi

RE: [Acegisecurity-developer] Reducing the number of filters needed in web.xml

2005-01-23 Thread Shishir K. Singh
+1 to it. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of bryan ( [EMAIL PROTECTED]) Sent: Sunday, January 23, 2005 11:52 AM To: acegisecurity-developer@lists.sourceforge.net Subject: Re: [Acegisecurity-developer] Reducing the number of filters needed i

[Acegisecurity-developer] AuthorizeTag.java

2005-03-24 Thread Shishir K. Singh
Hello, the following method, private Collection getPrincipalAuthorities() { SecureContext context = ((SecureContext) ContextHolder.getContext()); if (null == context) { return Collections.EMPTY_LIST; } Authentication currentUser = context.getAuthe