Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
brainfood
/
ofbiz-directcontrolservlet
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
109a776c
authored
2017-06-23 17:04:49 -0500
by
Adam Heath
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Make the authToken available as sessionId to called services.
Refs: #8779
1 parent
e6c992a5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
src/com/brainfood/ofbiz/DirectControlServlet.java
src/com/brainfood/ofbiz/DirectControlServlet.java
View file @
109a776
...
...
@@ -454,8 +454,11 @@ public class DirectControlServlet extends HttpServlet {
dispatcher
.
runSync
(
checkSessionService
,
checkSessionServiceContext
);
}
}
}
else
{
authToken
=
null
;
}
}
context
.
put
(
"sessionId"
,
authToken
);
Debug
.
logInfo
(
"USERLOGIN "
+
context
.
get
(
"userLogin"
)
+
" AUTHTOKEN "
+
authToken
,
module
);
...
...
Please
register
or
sign in
to post a comment