You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tapestry.apache.org by George Christman <gc...@cardaddy.com> on 2012/07/19 19:19:18 UTC

Tapestry-Security extend user session time

Hello, I'm using tapestry-security and a jQuery sessionTimeout plugin. One of
the options in the plugin is to stay connected when prompted your session is
going to expire. I was wondering if anybody had any ideas on how to extend
the user session with an ajax call from the jquery component. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Security-extend-user-session-time-tp5714610.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry-Security extend user session time

Posted by George Christman <gc...@cardaddy.com>.
I believe this js library was written in prototype, is there a jquery
version?

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Security-extend-user-session-time-tp5714610p5714617.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry-Security extend user session time

Posted by lprimak <lp...@hope.nyc.ny.us>.
Here are the links to FlowLogix documentation:

http://code.google.com/p/flowlogix/wiki/TLDocIndex
http://code.google.com/p/flowlogix/wiki/TapestryLibrary
http://code.google.com/p/flowlogix/

Example code:
http://code.google.com/p/hope-website/

There are around 30 pages of documentation for 3000 lines of code. I would
say that's pretty good amount of documentation.

I can try to help you solve problems that you encounter bootstrapping.



--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Security-extend-user-session-time-tp5714610p5714736.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry-Security extend user session time

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Not sure. Are you including tapestry security and tapestry exception page modules?  That might be the trouble. 



On Jul 19, 2012, at 2:06 PM, George Christman <gc...@cardaddy.com> wrote:

> lprimak, I'm getting the following exception, would you happen to know what's
> going on here? Thanks
> 
> java.lang.RuntimeException: Exception loading module(s) from manifest
> jar:file:/C:/Users/gmc07/.m2/repository/com/flowlogix/flowlogix-tapestry/0.9.8/flowlogix-tapestry-0.9.8.jar!/META-INF/MANIFEST.MF:
> Failure loading Tapestry IoC module class
> com.flowlogix.web.services.ServicesModule: Error invoking service binder
> method com.flowlogix.web.services.SecurityModule.bind(ServiceBinder) (at
> SecurityModule.java:51):
> org/tynamo/security/internal/SecurityExceptionHandlerAssistant
>    at
> org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
>    at
> org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
>    at
> org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
>    at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
>    at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
>    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>    at
> org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
>    at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
>    at
> org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
>    at
> org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
>    at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
>    at
> org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
>    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>    at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>    at
> org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
>    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>    at
> org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
>    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>    at
> org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
>    at org.mortbay.jetty.Server.doStart(Server.java:224)
>    at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
>    at
> org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
>    at
> org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
>    at
> org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
>    at
> org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
>    at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
>    at
> org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
>    at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
>    at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
>    at
> org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
>    at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
>    at
> org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
>    at
> org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
>    at
> org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
>    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
>    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
>    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
>    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
>    at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
>    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>    at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>    at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>    at java.lang.reflect.Method.invoke(Method.java:597)
>    at
> org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
>    at
> org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
>    at
> org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
>    at
> org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
> 2012-07-19 14:03:07.980:INFO::Started SelectChannelConnector@0.0.0.0:8080
> Started Jetty Server
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Security-extend-user-session-time-tp5714610p5714616.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry-Security extend user session time

Posted by George Christman <gc...@cardaddy.com>.
lprimak, I'm getting the following exception, would you happen to know what's
going on here? Thanks

java.lang.RuntimeException: Exception loading module(s) from manifest
jar:file:/C:/Users/gmc07/.m2/repository/com/flowlogix/flowlogix-tapestry/0.9.8/flowlogix-tapestry-0.9.8.jar!/META-INF/MANIFEST.MF:
Failure loading Tapestry IoC module class
com.flowlogix.web.services.ServicesModule: Error invoking service binder
method com.flowlogix.web.services.SecurityModule.bind(ServiceBinder) (at
SecurityModule.java:51):
org/tynamo/security/internal/SecurityExceptionHandlerAssistant
	at
org.apache.tapestry5.ioc.IOCUtilities.addModulesInManifest(IOCUtilities.java:123)
	at
org.apache.tapestry5.ioc.IOCUtilities.addDefaultModules(IOCUtilities.java:77)
	at
org.apache.tapestry5.internal.TapestryAppInitializer.<init>(TapestryAppInitializer.java:124)
	at org.apache.tapestry5.TapestryFilter.init(TapestryFilter.java:103)
	at org.mortbay.jetty.servlet.FilterHolder.doStart(FilterHolder.java:97)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at
org.mortbay.jetty.servlet.ServletHandler.initialize(ServletHandler.java:713)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:140)
	at
org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1282)
	at
org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:518)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:499)
	at
org.mortbay.jetty.plugin.Jetty6PluginWebAppContext.doStart(Jetty6PluginWebAppContext.java:115)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at
org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at
org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at
org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:224)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
	at
org.mortbay.jetty.plugin.Jetty6PluginServer.start(Jetty6PluginServer.java:132)
	at
org.mortbay.jetty.plugin.AbstractJettyMojo.startJetty(AbstractJettyMojo.java:454)
	at
org.mortbay.jetty.plugin.AbstractJettyMojo.execute(AbstractJettyMojo.java:396)
	at
org.mortbay.jetty.plugin.AbstractJettyRunMojo.execute(AbstractJettyRunMojo.java:210)
	at org.mortbay.jetty.plugin.Jetty6RunMojo.execute(Jetty6RunMojo.java:184)
	at
org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:101)
	at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:209)
	at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
	at
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
	at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:84)
	at
org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:59)
	at
org.apache.maven.lifecycle.internal.LifecycleStarter.singleThreadedBuild(LifecycleStarter.java:183)
	at
org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:161)
	at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:320)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:156)
	at org.apache.maven.cli.MavenCli.execute(MavenCli.java:537)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:196)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:141)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at
org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:290)
	at
org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:230)
	at
org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:409)
	at
org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:352)
2012-07-19 14:03:07.980:INFO::Started SelectChannelConnector@0.0.0.0:8080
Started Jetty Server

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Security-extend-user-session-time-tp5714610p5714616.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry-Security extend user session time

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
There is full documentation and examples on the site. You just have to click around. 



On Jul 19, 2012, at 1:33 PM, George Christman <gc...@cardaddy.com> wrote:

> Hi lprimak, I can't seem to figure out how to use FlowLogix. Do you know
> where I might be able to find examples etc? The website link that is suppose
> to link to some examples comes up with none. I don't know what it means when
> it says it houses common components like shiro security etc and how it would
> effect my existing code base. 
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Security-extend-user-session-time-tp5714610p5714612.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry-Security extend user session time

Posted by George Christman <gc...@cardaddy.com>.
Hi lprimak, I can't seem to figure out how to use FlowLogix. Do you know
where I might be able to find examples etc? The website link that is suppose
to link to some examples comes up with none. I don't know what it means when
it says it houses common components like shiro security etc and how it would
effect my existing code base. 

--
View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Security-extend-user-session-time-tp5714610p5714612.html
Sent from the Tapestry - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org


Re: Tapestry-Security extend user session time

Posted by Lenny Primak <lp...@hope.nyc.ny.us>.
Don't know what that has I do with jquery but the FlowLogix library has a session timeout component that takes care of this requirement. 

On Jul 19, 2012, at 1:19 PM, George Christman <gc...@cardaddy.com> wrote:

> Hello, I'm using tapestry-security and a jQuery sessionTimeout plugin. One of
> the options in the plugin is to stay connected when prompted your session is
> going to expire. I was wondering if anybody had any ideas on how to extend
> the user session with an ajax call from the jquery component. 
> 
> --
> View this message in context: http://tapestry.1045711.n5.nabble.com/Tapestry-Security-extend-user-session-time-tp5714610.html
> Sent from the Tapestry - User mailing list archive at Nabble.com.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
> For additional commands, e-mail: users-help@tapestry.apache.org
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tapestry.apache.org
For additional commands, e-mail: users-help@tapestry.apache.org