Class AuthenticationFailureExceptionMapping
- java.lang.Object
- 
- com.broadleafcommerce.auth.security.web.authentication.AuthenticationFailureExceptionMapping
 
- 
 public class AuthenticationFailureExceptionMapping extends Object Class used for mapping an exception to a redirect URI.
- 
- 
Constructor SummaryConstructors Constructor Description AuthenticationFailureExceptionMapping(@NonNull Class<?> exception, @NonNull String redirectUrl)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)Class<?>getException()The target exception when redirectingStringgetRedirectUrl()The redirect URL when the target exception happens.inthashCode()StringtoString()
 
- 
- 
- 
Method Detail- 
getExceptionpublic Class<?> getException() The target exception when redirecting
 - 
getRedirectUrlpublic String getRedirectUrl() The redirect URL when the target exception happens.Except in some special circumstances, the redirect URL should generally redirect to the login page with an "error=true" and "errorCode" param. For example: /login?error=true&errorCode=login.error.user-inactive
 - 
canEqualprotected boolean canEqual(Object other) 
 
- 
 
-