Opne DACS Java API - Restrict a user to login more than once from same position.
I'm following open DACS Java API to connect to DACS Daemon and Login to DACS Infrastructure. I'm following the exactly the same step and code which is available in Tutorial 2 – Login Request.
As per the tutorial, the ideal scenario should be :
The request sent to the DACS infrastructure, which first check if a user profile exist. IF the user exist a check is performed that maximum number of simultaneously login allowed for this user has not been exceeded.
But, while execiting the code and changing the position for the same user, the code allowing it multiple time login from different position for same user. For example :
1st login -
Username - xyz
Position - 1.1.1.1/net
2nd login -
Username - xyz
Position - 2.1.1.1/net
and so on..
Please note, In dacs for user1 the maximum number of simultaneous login allowed is set to 1.
Best Answer
-
Hello @Balwant
What is the command line that you run the application? To specific
the position, use -p <position>. For example: to set position to be 2.1.1.1/netjava -cp .;D:\rfaj8.1.0.L1.all.rrg\Libs\rfa.jar com.reuters.opendacs.tutorial.DacsSubscribeClient -D localhost:8211 -u pimchaya -p 2.1.1.1/net
If you run with invalid parameter to set the position, the position
will always be set to the default (1.1.1.1/net). Then, more than 1 login will
be allowed because of the same position are used.Do you start multiple applications in the similar time?
The application logs in then logs out the user after that
the number of login is back to 0. If you run the application, after it logs out
or exits, the number of login is 0. Then, you run the application again so the number
of login is increased to be 1 which does not exceed the maximum number set in DACs.
Hence, the user can login successfully. Please start the 2 applications in the
similar time with difference position and the same user and same daemon. Then, one of it will receive login denied
(login failure) because the maximum number of simultaneously login is exceeded as shown in the
figure below:If you still face the problem
even using -p <position> in the command line and start mulitiple
applications in the similar time with difference position and other parameters
are the same, it is possible that:- The DACS sink deamon
you use connects to DACS where the maximum number of login of the user you use
is not set to be 1. - The maximum
number of login of the user you use in DACS where the daemon connects to is not
set properly e.g. it set to be 1 but this change is not applied to DACS yet.
Hence, DACS that your daemon
connects to need to be verified if it sets the maximum number of login of the
user you use to be 1 properly or not.If DACS is manged by your
company, please contact your DACS’s admin who can help you to check this. If
you/your DACS’s admin needs help regarding the DACS sink deamon or DACS, you
can submit the query to DACS support team directly via https://my.thomsonreuters.com/ After
you log in, click "RAISE A CASE" then "Product Support".
Then, select your subject e.g. “I need help using the product”. At “Select
product”, select ”DACS - Data Access Control System”. If you cannot access the web site or submit the query, he
should send an email to rdc.administrator@thomsonreuters.comIf DACS is manged by Thomson
Reuters, please contact Thomson Reuters Account team who can help you to check
DACS.0 - The DACS sink deamon
Categories
- All Categories
- 3 Polls
- 6 AHS
- 36 Alpha
- 166 App Studio
- 6 Block Chain
- 4 Bot Platform
- 18 Connected Risk APIs
- 47 Data Fusion
- 34 Data Model Discovery
- 690 Datastream
- 1.4K DSS
- 629 Eikon COM
- 5.2K Eikon Data APIs
- 11 Electronic Trading
- 1 Generic FIX
- 7 Local Bank Node API
- 3 Trading API
- 2.9K Elektron
- 1.4K EMA
- 255 ETA
- 559 WebSocket API
- 39 FX Venues
- 15 FX Market Data
- 1 FX Post Trade
- 1 FX Trading - Matching
- 12 FX Trading – RFQ Maker
- 5 Intelligent Tagging
- 2 Legal One
- 25 Messenger Bot
- 3 Messenger Side by Side
- 9 ONESOURCE
- 7 Indirect Tax
- 60 Open Calais
- 280 Open PermID
- 45 Entity Search
- 2 Org ID
- 1 PAM
- PAM - Logging
- 6 Product Insight
- Project Tracking
- ProView
- ProView Internal
- 23 RDMS
- 2K Refinitiv Data Platform
- 716 Refinitiv Data Platform Libraries
- 4 LSEG Due Diligence
- LSEG Due Diligence Portal API
- 4 Refinitiv Due Dilligence Centre
- Rose's Space
- 1.2K Screening
- 18 Qual-ID API
- 13 Screening Deployed
- 23 Screening Online
- 12 World-Check Customer Risk Screener
- 1K World-Check One
- 46 World-Check One Zero Footprint
- 45 Side by Side Integration API
- 2 Test Space
- 3 Thomson One Smart
- 10 TR Knowledge Graph
- 151 Transactions
- 143 REDI API
- 1.8K TREP APIs
- 4 CAT
- 27 DACS Station
- 121 Open DACS
- 1.1K RFA
- 106 UPA
- 194 TREP Infrastructure
- 229 TRKD
- 918 TRTH
- 5 Velocity Analytics
- 9 Wealth Management Web Services
- 95 Workspace SDK
- 11 Element Framework
- 5 Grid
- 19 World-Check Data File
- 1 Yield Book Analytics
- 48 中文论坛