Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Riina Antikainen
/
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 60bbd297
authored
Oct 07, 2017
by
Tuomas Riihimäki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused authentication function from MoyaRealmBeanRemote (JaasBean)
1 parent
30568e17
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
9 deletions
code/moya-authmodule-client/src/main/java/fi/codecrew/moya/MoyaRealmBeanRemote.java
code/moya-beans/ejbModule/fi/codecrew/moya/beans/JaasBean.java
code/moya-authmodule-client/src/main/java/fi/codecrew/moya/MoyaRealmBeanRemote.java
View file @
60bbd29
...
...
@@ -29,8 +29,6 @@ public interface MoyaRealmBeanRemote {
Enumeration
<
String
>
getGroupNames
(
String
user
);
boolean
authenticate
(
String
_username
,
String
string
);
AuthenticationResult
authUsername
(
String
_username
,
String
string
);
Enumeration
<
String
>
getGroupNames
(
String
username
,
String
usertype
);
...
...
code/moya-beans/ejbModule/fi/codecrew/moya/beans/JaasBean.java
View file @
60bbd29
...
...
@@ -114,15 +114,9 @@ public class JaasBean implements MoyaRealmBeanRemote, JaasBeanLocal {
return
ret
;
}
@Override
public
boolean
authenticate
(
String
username
,
String
password
)
{
return
(
normalAuthBean
.
tryLogin
(
username
,
password
)
!=
null
);
}
@Override
public
Enumeration
<
String
>
getGroupNames
(
String
user
,
String
usertype
)
{
EventUser
usr
=
eventUserFacade
.
findByLogin
(
user
.
toLowerCase
().
trim
());
HashSet
<
String
>
roleset
=
new
HashSet
<
String
>();
...
...
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