so lately i've been reading lot fiware, , want tests. create website allow creation of 2 types of users:
- users of type able add new points of interest on website.
- users of type b able edit points of interest on website.
then when user logs in, website check type , allow user 1 thing or another.
which global enablers can use? far i've found these ge of use project:
- poi data provider: http://catalogue.fiware.org/enablers/poi-data-provider
- to store points of interest
- 2d-ui: http://catalogue.fiware.org/enablers/2d-ui
- to develop front-end
i haven't been able understand fiware cloud environment (the fiware lab), , don't know if might of use me, if ready production, etc, i'm developing locally @ moment, , deploy server. may use sagitta (http://catalogue.fiware.org/enablers/software-deployment-configuration-sagitta) deployment process?
i've read other ges such keyrock (http://catalogue.fiware.org/enablers/identity-management-keyrock) deals authentication, can use handle users , type, , make login form using this?
about fiware's idm ge, bit modified openstacks identity manager. http://docs.openstack.org/developer/keystone/ consists of keyrock , horizon(which front end application-dashboard) , uses oauth 2.0 authorization, bit @ it's api.
yes can implement login via form, send data in json format. here example of data using curl,
curl -i \ -h "content-type: application/json" \ -d ' { "auth": { "identity": { "methods": ["password"], "password": { "user": { "name": "idm", "domain": { "id": "default" }, "password": "idm" } } } } }' \ http://192.168.4.33:5000/v3/auth/tokens ; echo and authentication token. idea use ge authenticating users of multiple applications. when register application in horizon application assigned client_id , secret_id, pass application along url of horizon , callback url via rest calls.then user redirected fiware account manager can log in.after successful login user again redirected application , in moment should save token in session.
regarding first question, inside horizon can define http methods users can invoke, group of users can edit poi-s, place , put method , should create poi-s add post method. take @ video: https://www.youtube.com/watch?v=uhlznmsnmts
Comments
Post a Comment