cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

ThingWorx Navigate is now Windchill Navigate Learn More

Translate the entire conversation x

SecurityContext for ThingworxEvent

MarcusMiss
11-Garnet

SecurityContext for ThingworxEvent

Hello,
I'm in need to raise events (ThingworxEvent) from my extension. They are triggered from separate threads. My question is: what is preferred security-context: super-user (via SecurityContext.createSuperUserContext()), system-user (via SecurityContext.createSystemUserContext()) or something different? Is there a general rule?
Regards,
Marcus

ACCEPTED SOLUTION

Accepted Solutions
PaiChung
22-Sapphire I
(To:MarcusMiss)

Thingworx by default users SuperUser so i think that would be one way to approach it.

Now if you are raising the events, it is BEST to create a specific Group/User or that with specific execution permissions (vs. Super user being able to do anything)

View solution in original post

2 REPLIES 2
PaiChung
22-Sapphire I
(To:MarcusMiss)

Thingworx by default users SuperUser so i think that would be one way to approach it.

Now if you are raising the events, it is BEST to create a specific Group/User or that with specific execution permissions (vs. Super user being able to do anything)

Yes, you‘re right. That sounds plausible.

Thank you.

Announcements


Top Tags