public interface IReportPortalLogin
Modifier and Type | Method and Description |
---|---|
boolean |
checkLogin(long reportPortalId,
java.lang.String username,
java.lang.String password)
Validates the login.
|
boolean checkLogin(long reportPortalId, java.lang.String username, java.lang.String password)
reportPortalId
- Id of the report portalResources
- This HashMap contains both the HttpRequest and HttpResponse
objects, if the current survey is web based. In future versions,
other types of objects must be retrieved, if other protocols
are used - WAP, for example. The HTTP objects must be retrieved this way:HttpRequest request = (HttpRequest) resources.get("HttpRequest"); -- or -- HttpResponse response = (HttpResponse) resources.get("HttpResponse");Then these objects should contain the values needed validate the login, by retrieving the login/pw from the request object, and validating it towards an LDAP directory, for example.
Built on January 26 2024