Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
How to use dependent controllers
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  3 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
kadams-alfresco  
View profile   Translate to Translated (View Original)
 More options Jul 7 2012, 5:05 pm
From: kadams-alfresco <kyle.ad...@alfresco.com>
Date: Sat, 7 Jul 2012 14:05:17 -0700 (PDT)
Local: Sat, Jul 7 2012 5:05 pm
Subject: How to use dependent controllers

I have a Java controller called Login with a doLogin method. For every
other controller, I have a dependency to call the doLogin method to get an
authentication ticket prior to performing any other method calls. What is
the best way to accomplish this?

I'm trying to build off of the Java tutorial, but it wont allow me to
simply call another controller. Any hints/tips/tricks/or hey dumbass do
this?

- Kyle


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
eee  
View profile  
 More options Jul 9 2012, 10:14 am
From: eee <evet...@gmail.com>
Date: Mon, 9 Jul 2012 07:14:04 -0700 (PDT)
Local: Mon, Jul 9 2012 10:14 am
Subject: Re: How to use dependent controllers

For 2.0 check the approach of zentask sample app.
The idea is to annotate the controllers with
@Security.Authenticated(Secured.class)

El sábado, 7 de julio de 2012 18:05:17 UTC-3, kadams-alfresco escribió:


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
kadams-alfresco  
View profile  
 More options Jul 9 2012, 8:51 pm
From: kadams-alfresco <kyle.ad...@alfresco.com>
Date: Mon, 9 Jul 2012 17:51:32 -0700 (PDT)
Local: Mon, Jul 9 2012 8:51 pm
Subject: Re: How to use dependent controllers

Thanks! Hopefully this will save me from overusing DI with spring.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »