org.wso2.carbon.utils
Interface AuthenticationObserver


public interface AuthenticationObserver

This observer will be notified during the authentication process so that various initializations can be done.


Method Summary
 void completedAuthentication(int tenantId, boolean isSuccessful)
          This method will be notified when the authentication process is completed.
 void startedAuthentication(int tenantId)
          This method will be notified when the authentication process is started.
 

Method Detail

startedAuthentication

void startedAuthentication(int tenantId)
This method will be notified when the authentication process is started.

Parameters:
tenantId - The tenant identifier.

completedAuthentication

void completedAuthentication(int tenantId,
                             boolean isSuccessful)
This method will be notified when the authentication process is completed.

Parameters:
tenantId - The tenant identifier.
isSuccessful - Whether authentication was successful or not,


Copyright © 2014 WSO2 Inc. All rights reserved.