Nathan: Yes the plan is to use the webservice as the authentication
mechanism. We're using SSL so not worrying about encryption at this time.
What i want to be able to do it use all the features of appfuse like the
security filter etc. but just do the authentication through the webservice.

Mike: The webservice is the authentication method - the client i have sends
the username and password that is entered on screen and instead of the
authenticationManager using the appfuse way i need to set it depends on the
result of the webservice call - you sort of get me?

Many Thanks 

Sion


sionsmith wrote:
> 
> Thanx Mike i've now got that working and talking to the webservice. Woohoo
> - i'm thinknig that was the easy part compared to what i now have to do. I
> have to use an 'authenticAccount' method on the webservice to authentic
> the user which simply takes the username & password and returns me true or
> false depending if the attempt was successful . How the hell to i get this
> to work with the acegisecurity authenticationManager used in appfuse. Is
> this possible? I've no idea how to go about doing this :(
> 
> Any help would be greatful
> 
> Thanx Sion
> 
> Michael Horwitz wrote:
>> 
>> On 4/12/07, sionsmith <[EMAIL PROTECTED]> wrote:
>>>
>>>
>>> Arrrh i see now! thanx Mike - what about the destory method tho? Do i
>>> place
>>> that in the configure too?
>> 
>> 
>> Yup. Add the attribute destroy-method="destroy_method_name".
>> 
>> Mike.
>> 
>> Thanx sion
>>>
>>> Michael Horwitz wrote:
>>> >
>>> > On 4/12/07, sionsmith <[EMAIL PROTECTED]> wrote:
>>> >>
>>> >>
>>> >> Guys & Girls,
>>> >>
>>> >> I'm using the appfuse jsf framework - we need to talk to a
>>> webservice,
>>> i
>>> >> have already been given a java client class which talks to the
>>> service
>>> -
>>> >> however i'm unsure of the best way or how to load this client and run
>>> its
>>> >> init method on server startup? I've had look on here, and at the
>>> >> StartupListener in the org.appfuse.webapp.listener package - do i
>>> need
>>> to
>>> >> write my own listener that extents this? i'm confused? I see another
>>> way
>>> >> is
>>> >> to use sumthing called Quartz? whats this and how do i use that?
>>> >
>>> >
>>> > The easiest way to get you class up and running is probably to
>>> configure
>>> > it
>>> > in Spring as a bean. You can get Spring to call the init method when
>>> it
>>> > starts up the class by adding the attribute init-method="method_name"
>>> on
>>> > the
>>> > bean definition.
>>> >
>>> > Quartz is a job scheduler: http://www.opensymphony.com/quartz/. You
>>> would
>>> > use Quartz if, for instance, you wanted to call your web service every
>>> day
>>> > at 23h00.
>>> >
>>> > Mike.
>>> >
>>> > Any help on how to do this would be very greatful :)
>>> >>
>>> >> Thanx Sion
>>> >> --
>>> >> View this message in context:
>>> >>
>>> http://www.nabble.com/Using-Appfuse-With-WebServices-tf3565429s2369.html#a9959171
>>> >> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>> >>
>>> >> ---------------------------------------------------------------------
>>> >> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> >> For additional commands, e-mail: [EMAIL PROTECTED]
>>> >>
>>> >>
>>> >
>>> >
>>>
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Using-Appfuse-With-WebServices-tf3565429s2369.html#a9960321
>>> Sent from the AppFuse - User mailing list archive at Nabble.com.
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>>> For additional commands, e-mail: [EMAIL PROTECTED]
>>>
>>>
>> 
>> 
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Using-Appfuse-With-WebServices-tf3565429s2369.html#a9963607
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to