Hi Gayan ,

On Tue, Jan 20, 2015 at 11:46 PM, Gayan Gunawardana <ga...@wso2.com> wrote:

> adding johann...
>
> On Tue, Jan 20, 2015 at 10:02 PM, Lasitha Wattaladeniya <lasit...@wso2.com
> > wrote:
>
>> Hi All,
>>
>> I'm developing a TOTP authenticator as my training project. In that I had
>> a requirement to implement $Subject. The requirement is to access the soap
>> service through a AJAX call from a jsp.
>>
>> Currently what I'm doing is, Created a Stub component to access the soap
>> service and call that Stub from a Servlet inside
>> *authentication.endpoint* component.
>>
> will it be possible to use separate UI component rather accessing back end
> service from Servlet inside *authentication.endpoint*?
>

The jsp through which i'm sending the AJAX request is the main UI of the
totp authenticator.  Therefore AFAIK can't implement a seperate UI
component for this

>
>> AJAX request is sent to an endpoint where it's mapped to a Servlet.
>> Servlet initiates the call to the Stub.
>>
>> Any comments about this approach ?  Is there a better way of doing this ?
>>
>>
>> --
>> Lasitha Wattaladeniya
>> Software Engineer
>> WSO2, Inc. | http://wso2.com
>> lean. enterprise. middleware
>>
>> Mobile : +94719397528
>> Blog : techreadme.blogspot.com
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Gayan Gunawardana
> Software Engineer; WSO2 Inc.; http://wso2.com/
> Email: ga...@wso2.com
> Mobile: +94 (71) 8020933
>



-- 
Lasitha Wattaladeniya
Software Engineer
WSO2, Inc. | http://wso2.com
lean. enterprise. middleware

Mobile : +94719397528
Blog : techreadme.blogspot.com
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to