Package org.wso2.carbon.utils
Interface AuthenticationObserver
-
public interface AuthenticationObserverThis observer will be notified during the authentication process so that various initializations can be done.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidcompletedAuthentication(int tenantId, boolean isSuccessful)This method will be notified when the authentication process is completed.voidstartedAuthentication(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,
-
-