Class AMAuthErrorCodeResponseStatusMapping
- java.lang.Object
-
- org.forgerock.openam.core.rest.authn.AMAuthErrorCodeResponseStatusMapping
-
public class AMAuthErrorCodeResponseStatusMapping extends Object
Contains methods that return a map of AMErrorCodes to Http Response Status codes.
-
-
Constructor Summary
Constructors Constructor Description AMAuthErrorCodeResponseStatusMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetAuthLoginExceptionResponseStatus(String authErrorCode)Returns the Http Status code for the given AMAuth error code.
-
-
-
Method Detail
-
getAuthLoginExceptionResponseStatus
public int getAuthLoginExceptionResponseStatus(String authErrorCode)
Returns the Http Status code for the given AMAuth error code.- Parameters:
authErrorCode- The AMAuthErrorCode.- Returns:
- The Http Status code.
-
-