on 06-12-2014 8:38 PM
Hi, I get this error when executing a DCN:
Problem accessing /dcn/DCNServlet.
Reason: Authenticate user failed for user DCN in domain dbappz. Check username and/or password. The reason is Login Failed: user 'DCN@dbappz'
I know this happens because I don't have the DCN@dbappz user mapped with the logical role SUP DCN User in the SCC.
My problem is that I don't know how to make this mapping in the SCC.
In my security profile, in the Authentication section I have a PreConfiguredUserLoginModule with the DCN user but I don't know where to map this user with the DCN logical role.
In Role Mapping I don't see anything, only one other logical role.
Any ideas ?
Thanks!
Jitendra, do you need some additional info ?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alan,
This is very simple. Before adding any property and value to "DCN" user, open the "Properties" of existing "PreConfigureUserLoginModule" provider and copy each and every property and value set and add the same to the newly created for "DCN" user.
For existing provider roles should be
SUP Administrator,SUP Domain Administrator,SUP DCN User, SUP Push User
paste all these roles to the above screenshot.
Hope this will work.
Regards,
JK
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Alan,
If you are creating a new admin user like "supAdmin" then it should have all roles like "supAdmin".
Please try with roles detail mentioned in my first reply.
Moreover, I am not understanding how exactly you are calling DCN?
Can you please share more information what all you have tried?
Rgrds,
JK
I just want to create a user that is able to send Data Change Notifications, so the role 'SUP DCN User' should be enough, right ?
I'm calling the DCN from a Delphi Application, here is the string that I send to the server:
http://srv:8000/dcn/DCNServlet?cmd=dcn&username=DCN&password=DCN123&package=otmobile:1.0&domain=dbap...{"pkg":"dummy","messages":[{"id":"38","mbo":"Pedido","op":":upsert","cols":{"codigo":102375,"codigoRepresentante":36290,"codigoTipoPedido":0,"pedidoCliente":"hghg","codigoClienteFatura":36671,"codigoClienteEntrega":36671,"codigoClienteCompra":36671,"codigoTabelaPreco":4,"codigoMoeda":2,"codigoTipoFrete":1,"codigoViaTransporte":2,"codigoTransportadora":5550,"codigoTransportadoraRedespacho":6366,"observacaoPedido":"N,mn","desconto":65,"codigoCondicaoPagamento":2436,"pedidoRepresentante":"5665","codigoCanalVenda":0,"observacaoFaturamento":",kn","codigoFormaPagamento":2,"antecipaFaturamento":0,"dataEmissao":"2014-06-13","dataBase":"2014-06-17","codigoSituacao":0}}]}
Thank you!
Firstly make sure it is working for supAdmin user. If that works create a new user and test.
Sample JSON format:
http://localhost:8000/dcn/DCNServlet?cmd=dcn&username=supAdmin&password=
s3pAdmin&package=testdatetime:1.0&domain=default&dcn_request=
{"pkg":"testdatetime","messages":[{"id":"1","mbo":"TestDateTimeStamp","op":":upsert",
"ppm":null,"cols":{"testTimestamp":"2009-08-09T12:04:05","testDate":"2009-08-09","c_int":"0",
"testDateTime":"2009-08-09T12:04:05","testSmalldt":"2009-08-09T12:04:05","testTime":"12:04:05"},
}]}
Midhun VP
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.