it.eng.rdlab.soa3.authn.rest.impl
Class AuthenticationServiceImpl

java.lang.Object
  extended by it.eng.rdlab.soa3.authn.rest.impl.AuthenticationServiceImpl
All Implemented Interfaces:
IAuthenticationService

public class AuthenticationServiceImpl
extends Object
implements IAuthenticationService

Authentication service that authenticates users against LDAP

Author:
Kanchanna Ramasamy Balraj, Ermanno Travaglino

Constructor Summary
AuthenticationServiceImpl()
           
 
Method Summary
 boolean authenticate(String userName, String organizationName, String password)
           
 AuthenticationContext getAuthenticationContext()
          
 boolean isUserAuthenticated(String userName, String organizationName, String password)
          
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AuthenticationServiceImpl

public AuthenticationServiceImpl()
Method Detail

authenticate

public boolean authenticate(String userName,
                            String organizationName,
                            String password)
Parameters:
userName -
organizationName -
password -
Returns:

isUserAuthenticated

public boolean isUserAuthenticated(String userName,
                                   String organizationName,
                                   String password)

Specified by:
isUserAuthenticated in interface IAuthenticationService

getAuthenticationContext

public AuthenticationContext getAuthenticationContext()

Specified by:
getAuthenticationContext in interface IAuthenticationService


Copyright © 2013. All Rights Reserved.