Commit 60bbd297 by Tuomas Riihimäki

Remove unused authentication function from MoyaRealmBeanRemote (JaasBean)

1 parent 30568e17
......@@ -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);
......
......@@ -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>();
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!