Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
opcua-asyncio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nikola Balog
opcua-asyncio
Commits
7b2538d0
Commit
7b2538d0
authored
Feb 17, 2019
by
Christian Bergmiller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix InternalSession.activate_session ServiceError namespace
parent
12117415
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
opcua/server/internal_server.py
opcua/server/internal_server.py
+2
-2
No files found.
opcua/server/internal_server.py
View file @
7b2538d0
...
...
@@ -359,8 +359,8 @@ class InternalSession:
self
.
state
=
SessionState
.
Activated
id_token
=
params
.
UserIdentityToken
if
isinstance
(
id_token
,
ua
.
UserNameIdentityToken
):
if
self
.
iserver
.
check_user_token
(
self
,
id_token
)
==
False
:
raise
utils
.
ServiceError
(
ua
.
StatusCodes
.
BadUserAccessDenied
)
if
self
.
iserver
.
check_user_token
(
self
,
id_token
)
is
False
:
raise
ServiceError
(
ua
.
StatusCodes
.
BadUserAccessDenied
)
self
.
logger
.
info
(
"Activated internal session %s for user %s"
,
self
.
name
,
self
.
user
)
return
result
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment