Relationship between Session and Endpoints|OPC UA Standard|Forum|OPC Foundation

Avatar
Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
Lost password?
sp_Feed sp_PrintTopic sp_TopicIcon
Relationship between Session and Endpoints
Avatar
Alberto Tiraboschi
New Member
Members
Forum Posts: 1
Member Since:
05/04/2022
sp_UserOfflineSmall Offline
1
05/04/2022 - 05:53
sp_Permalink sp_Print

Given a UA Server with three endpoints, a Session has been created.

Is the session strictly tied to one endpoint?

If not, then does a session share all the endpoints User Token Policy? e.g. if a client sends a request with a Policy ID, should the server look for a match by iterating the Policy ID of all the endpoints?

Is there any point where this is discussed in the specifications or similar resources?

 

Thanks, 

Alberto

Avatar
Randy Armstrong
Admin
Forum Posts: 1564
Member Since:
05/30/2017
sp_UserOfflineSmall Offline
2
05/04/2022 - 15:44
sp_Permalink sp_Print

A session is a based on a SecureChannel between a client and server.

The secure channel can change but ActivateSession must be called again on the new SecureChannel.

Clients create a SecureChannel by connecting to one endpoint and negotiating keys.

If a connection is interrupted Clients can create a new SecureChannel with a different endpoint and call ActivateSession.

The PolicyIds are only valid within the EndpointDescription used by the Client to create SecureChannel.

The server has to know what EndpointDescription was used to create the SecureChannel and this information is provided by the stack.

See https://reference.opcfoundatio.....rt4/5.6.2/

Forum Timezone: America/Phoenix
Most Users Ever Online: 510
Currently Online:
Guest(s) 43
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Forum Stats:
Groups: 2
Forums: 10
Topics: 1435
Posts: 4855