Hi Pradeep,
There is a module called carbon.server [1] - it has a method
called authenticate. Please use that method to authenticate.

[1] -
https://github.com/wso2/jaggery/blob/master/modules/carbon/scripts/server/server.js

Cheers ~


On Sun, Feb 2, 2014 at 11:23 PM, Pradeep Fernando <[email protected]> wrote:

> Hi,
>
> I want to authenticate a user. Saw a 'carbon' module in jaggery. does it
> support above. The java code would be,
>
> userRealm.getUserStoreManager().authenticate(username, password)
>
> I could not find similar operation in user.js/user-manager.js under carbon
> module.
>
> thanks,
> --Pradeep
>
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Chan (Dulitha Wijewantha)
Software Engineer - Mobile Development
WSO2Mobile
Lean.Enterprise.Mobileware
 * ~Email       [email protected] <[email protected]>*
*  ~Mobile     +94712112165*

*  ~Website   dulithawijewantha.com <http://dulithawijewantha.com/>*

*  ~Blog         blog.dulithawijewantha.com
<http://dulichan.github.io/chan/>*
*  ~Twitter     @dulitharw <https://twitter.com/dulitharw>*
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to