protected LoginException handleLoginFailure(String url, String exceptionMessage) {
try {
if(url != null){
super.setLoginFailureURL(url);
}
} catch (AuthLoginException e) {
ThreadLogger.error(moduleName, "Failed to set the loginFailureUrl", e);
}
ThreadLogger.message(moduleName, "handleLoginFailure about to throw Exception");
return new LoginException(exceptionMessage);
}
No comments:
Post a Comment