Parse.com invalid acl key *unresolved - acl

I'm using Parse.com in my android application.
When I retrieve datas it is ok, but when I try to add something to database it shows an error: invalid acl key.
What I have to add extra when I update database

Related

Adding a mysql user store with custom schema to WSO2 Identity Server

Currently, trying to use WSO2 Identity Server to authenticate users from a mysql user store that I created with my own schema. However, whenever I add this user store as a secondary one in WSO2, the users do not appear on the management console.
And when I attempt to authenticate a user from that store I get the error message:
[2019-05-24 10:01:15,951] ERROR{org.wso2.carbon.identity.auth.service.handler.impl.BasicAuthenticationHandler}
- Error occurred while trying to authenticate,
Error when handling event : PRE_AUTHENTICATION
The user stores of the WSO2 servers need to have the specific schema (the schema script located in the dbscripts folder). You need to import users using this from your existing schema or scim2 endpoints to programmably import users
I you cannot migrate user store to wso2 schema as senthalan explained then you have two options to plug custom schema.
Change SQL queries from Advanced option of secondary user store configuration
Writing custom user store manager by extending necessary functions like doAuthenticate, doAddUser [1]
Error when handling event : PRE_AUTHENTICATION basically coming from below listener
org.wso2.carbon.identity.governance.listener.IdentityMgtEventListener in identity.xml while handling pre authenticate event. You can even disable it.
[1]https://github.com/GayanM/custom-user-store

Invoke REST api and insert details into MySQL database

I've a requirement. I have a REST API using spring-mvc in which there is a POST method to insert data into MySQL database. I checked it through postman client and results got inserted into MySQL database. Now I've one more spring project say InsertMongo in which the details are inserted into MONGODB as documents. So, i need to invoke my REST API in that spring project InsertMongo such that i have to insert the details into MySQL table instead of inserting them into MySQL. Let's say I've all the details which are to be inserted . So, how can i send them as body to POST call and how can i invoke my post call here. can anybody tell me how to proceed. I'm not getting any idea. Thanks in advance.

laravel jwtAuth validate credentials

I'm developing API in laravel and trying to implement token base auth with jwtAuth but what I cannot understand is that how to use mysql table 'customers' for authentication and generate token.
I have gone through multiple tutorials but none of them explain mysql table for authentication .
Does mysql really required for jwtAuth ?
How to manage jwtAuth::attempt() function for mysql ?
What is default table for jwtAuth() ?
Some of the tutorial that I have followed are : this and this
JWT authentication is an extension of the base Authentication, and uses the same configuration and methods as defined in your config/auth.php file.
User data will be stored in the defined users table - if using the standard Authentication scaffolding this is just users.
The JWT sessions themselves will be stored based on your session configuration. By default this uses file based session, stored within the
folder storage/framework/sessions

Retrieve Fiware-ServicePath from EntityContext using EntityID

I could not find detailed documentation about Entity Service and Service Path, this is best i could find is this section in the Orion User Manual
I would like to retrieve a "Fiware-ServicePath" for a specific Entity_ID but NGSI10 does not provide that information using queryContext.
Is there a way of retrieving this information ?
My process is described here, everything is working except the the Get ServicePath using EntityID part:
A gateway is pushing data into Orion and i would like to make to "update or insert procedure":
Get ServicePath using EntityID
IF exists: update it
If not exists: updatecontext with ServicePath '/NewItems'
As a workaround, I would add the ServicePath into some metadata...
You can add Fiware-ServicePath: /NewItems to the query request in order to check if the entity is in that service path or not. You can also add a comma-separated list, e.g. Fiware-ServicePath: /NewItems1, /NewItems2.
This approach would work except if the entity can be in any service path (even diffent to the "/NewItems" that is going to be use to create entity failing the existence checking) and you don't know them in advance.
In that case, the workaround by the moment is as you say, to store the service path associated to the entity, although my recomendation is to use an entity attribute for that, not a metadata (note that in NGSI metadata are associated to attributes, not entity themselves).

How to delete amazon s3 object from flash?

according to Amazon S3 REST API deleting an object requires a DELETE request, like
DELETE /myobject.txt
Host: bucket.s3.amazonaws.com
...
Authorization: <auth>
But the URLRequest.method field in Flash can be set only to GET or POST, so I cannot create such a request. Any idea?
Could it be possible to make a POST request to your server and then make a DELETE request from let's say php to amazon?
Check out the as3httpclient lib, it makes DELETE requests available