Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Max Mecklin
/
Moya
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 5946366b
authored
Feb 02, 2018
by
Tuukka Kivilahti
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
username is no longer null
1 parent
844809d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
code/moya-beans/ejbModule/fi/codecrew/moya/beans/auth/RestMacAuthPBean.java
code/moya-beans/ejbModule/fi/codecrew/moya/beans/auth/RestMacAuthPBean.java
View file @
5946366
...
...
@@ -33,12 +33,11 @@ public class RestMacAuthPBean extends ApiAuth implements AuthenticationFormat {
AuthenticationResult
ret
=
null
;
if
(
password
.
startsWith
(
JaasBeanLocal
.
REST_PREFIX
))
{
ret
=
new
AuthenticationResult
();
ret
.
setUsertype
(
UserType
.
REST
.
name
());
if
(
restAuth
(
password
,
event
)
!=
null
)
{
ret
=
new
AuthenticationResult
();
ret
.
setUsertype
(
UserType
.
REST
.
name
());
ret
.
setUsername
(
jaasUsername
);
}
//ret.setUsername(restAuth(password, event) + '@'+domain);
}
return
ret
;
}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment