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
ba0e1190
authored
2014-09-22 19:01:48 -0500
by
Ean Schuessler
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'BF-3725' of /home/git/repositories/brainfood/ofbiz-directcontrolservlet
2 parents
50cfb506
74559e91
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
src/com/brainfood/ofbiz/DirectControlServlet.java
src/com/brainfood/ofbiz/DirectControlServlet.java
View file @
ba0e119
...
...
@@ -189,13 +189,14 @@ public class DirectControlServlet extends HttpServlet {
)
);
if
(
authTokenEntity
!=
null
&&
authTokenEntity
.
get
(
"userLoginId"
)
!=
null
)
{
if
(
authTokenEntity
!=
null
)
{
String
userLoginId
=
authTokenEntity
.
getString
(
"userLoginId"
);
if
(
UtilValidate
.
isNotEmpty
(
userLoginId
))
{
GenericValue
userLogin
=
EntityUtil
.
getFirst
(
delegator
.
findList
(
"UserLogin"
,
EntityCondition
.
makeCondition
(
"userLoginId"
,
EntityOperator
.
EQUALS
,
authTokenEntity
.
get
(
"userLoginId"
)),
userLoginId
.
toLowerCase
(
)),
null
,
null
,
null
,
true
));
if
(
userLogin
!=
null
)
{
context
.
put
(
"userLogin"
,
userLogin
);
...
...
@@ -207,6 +208,7 @@ public class DirectControlServlet extends HttpServlet {
}
}
}
}
Debug
.
logInfo
(
"USERLOGIN "
+
context
.
get
(
"userLogin"
)
+
" AUTHTOKEN "
+
authToken
,
module
);
...
...
Please
register
or
sign in
to post a comment