blackboard.platform.dataintegration
Interface DataIntegrationAuthenticator


public interface DataIntegrationAuthenticator

Provides authentication for data integration requests.

Since:
Bb 9.1 SP6

Method Summary
 DataIntegration authenticate(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Authenticates a data integration HTTP request.
 DataIntegration authenticate(java.lang.String username, java.lang.String password)
          Manually authenticate a data integration by directly passing in the user name/password.
 

Method Detail

authenticate

DataIntegration authenticate(javax.servlet.http.HttpServletRequest request,
                             javax.servlet.http.HttpServletResponse response)
Authenticates a data integration HTTP request.

If authentication fails, no further changes should be made to the response as error information may already have been sent back and the response committed.

Parameters:
request - the HTTP Request
response - the HTTP Response
Returns:
The DataIntegration that this request is authenticated for, or null if the authentication failed.

authenticate

DataIntegration authenticate(java.lang.String username,
                             java.lang.String password)
Manually authenticate a data integration by directly passing in the user name/password.

Parameters:
username - The user name passed in.
password - The password provided.
Returns:
The DataIntegration associated with the specified user name and password, or null if the authentication failed.


Copyright © 2012 Blackboard, Inc. All Rights Reserved.