Maybe you could just create your own Tapestry form (just like you do for any other page) and submit it. Within the form's processing, you could use the Acegi API (SecurityContextHolder.getContext().setAuthentication() maybe?) to set up the security context, authenticating however you want. The HttpSessionContextIntegrationFilter will take care of storing it in the session for you so that each subsequent request will be authenticated. I should maybe look at integrating the "remember me" stuff into the pipeline. I could create a special module called tapestry-acegi-rememberme or something so that you could just drop in a jar to allow "remember me" services.
On 11/3/06, James Carman <[EMAIL PROTECTED]> wrote:
Maybe the form-based security should declare its own dummy engine service? That might be the way to go. I don't know. I'd have to play around with it some. On 11/3/06, Jesper Zedlitz <[EMAIL PROTECTED]> wrote: > James Carman wrote: > > What URL mapping are you using for your Tapestry application servlet? > > > This is my mapping without my Acegi experiments: > <filter> > <filter-name>redirect</filter-name> > <filter-class>org.apache.tapestry.RedirectFilter</filter-class> > </filter> > <servlet> > <servlet-name>tapestry-acegi</servlet-name> > <servlet-class>org.apache.tapestry.ApplicationServlet</servlet-class> > <load-on-startup>0</load-on-startup> > </servlet> > <filter-mapping> > <filter-name>redirect</filter-name> > <url-pattern>/</url-pattern> > </filter-mapping> > <servlet-mapping> > <servlet-name>tapestry-acegi</servlet-name> > <url-pattern>/app</url-pattern> > </servlet-mapping> > > For Acegi I have added this mapping: > <filter> > <filter-name>AcegiFilter</filter-name> > <filter-class>org.acegisecurity.util.FilterToBeanProxy</filter-class> > <init-param> > <param-name>targetClass</param-name> > <param-value>org.acegisecurity.ui.webapp.AuthenticationProcessingFilter</param-value> > </init-param> > </filter> > <filter-mapping> > <filter-name>Acegi Filter Chain Proxy</filter-name> > <url-pattern>/j_acegi_security_check</url-pattern> > </filter-mapping> > > Jesper > > -- > Jesper Zedlitz E-Mail : [EMAIL PROTECTED] > Homepage : http://www.zedlitz.de > ICQ# : 23890711 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]