Package com.axelor.auth.pac4j
Class ErrorHandler
- java.lang.Object
-
- com.axelor.auth.pac4j.ErrorHandler
-
@Singleton public class ErrorHandler extends Object
-
-
Constructor Summary
Constructors Constructor Description ErrorHandler(AuthPac4jInfo pac4jInfo)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
handleException(Exception e, org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter, org.pac4j.core.context.WebContext context)
protected RuntimeException
runtimeException(Exception exception)
-
-
-
Constructor Detail
-
ErrorHandler
@Inject public ErrorHandler(AuthPac4jInfo pac4jInfo)
-
-
Method Detail
-
handleException
public Object handleException(Exception e, org.pac4j.core.http.adapter.HttpActionAdapter httpActionAdapter, org.pac4j.core.context.WebContext context)
-
runtimeException
protected RuntimeException runtimeException(Exception exception)
-
-