Class AMAuthErrorCodeResponseStatusMapping


  • public class AMAuthErrorCodeResponseStatusMapping
    extends Object
    Contains methods that return a map of AMErrorCodes to Http Response Status codes.
    • Constructor Detail

      • AMAuthErrorCodeResponseStatusMapping

        public AMAuthErrorCodeResponseStatusMapping()
    • 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.