Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » OM2M » Changing IN-CSE user and password
Changing IN-CSE user and password [message #1838945] Wed, 10 March 2021 04:36 Go to next message
Eclipse UserFriend
Hello! I was wondering if it's possible to change the admin user and password that is used when logging on OM2M's IN-CSE web interface (http://127.0.0.1:8080/webpage/) and when issuing any commands through HTTP ("X-M2M-Origin": "admin:admin").

I tried changing the following line in config.ini, but OM2M only accepts "admin:admin" even after changing said line:

org.eclipse.om2m.adminRequestingEntity=admin\:admin

Any help is very appreciated!
Re: Changing IN-CSE user and password [message #1839006 is a reply to message #1838945] Thu, 11 March 2021 09:21 Go to previous messageGo to next message
Cyrille Bareau is currently offline Cyrille BareauFriend
Messages: 8
Registered: April 2018
Junior Member
Hello,

The file to be modified is the "om2m.product", property "org.eclipse.om2m.adminRequestingEntity".
The file config.ini is generated from this file, it cannot be modified once created.
Re: Changing IN-CSE user and password [message #1839029 is a reply to message #1839006] Thu, 11 March 2021 15:18 Go to previous messageGo to next message
Eclipse UserFriend
Oh I see! Does this mean that the user and password are defined in compilation time, and changing them would require recompiling IN-CSE?
Re: Changing IN-CSE user and password [message #1839622 is a reply to message #1839029] Wed, 24 March 2021 17:34 Go to previous messageGo to next message
Cyrille Bareau is currently offline Cyrille BareauFriend
Messages: 8
Registered: April 2018
Junior Member
Sorry for late reply, I guess you found the answer by now...
But yes, changing the user / password (or any property defined in the om2m.product file) requires a re-build of the org.eclipse.om2m.site.<asn/in/mn>-cse component (not a rebuild of the whole platform).
Re: Changing IN-CSE user and password [message #1840100 is a reply to message #1839622] Tue, 06 April 2021 19:34 Go to previous message
Eclipse UserFriend
Okay, thanks for the clarification and for your help! It's very appreciated
Previous Topic:MQTT notifications not working
Next Topic:Get 501 error Not Implemented when trying access CSE with "Cae-admin"
Goto Forum:
  


Current Time: Thu Apr 25 08:21:33 GMT 2024

Powered by FUDForum. Page generated in 0.03186 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top