protected boolean isAccessTokenRequest ( final HttpServletRequest request , final HttpServletResponse response ) { val requestPath = request . getRequestURI ( ) ; val pattern = String . format ( "(%s|%s)" , OAuth20Constants . ACCESS_TOKEN_URL , OAuth20Constants . TOKEN_URL ) ; return doesUriMatchPattern ( requestPath , pattern ) ; }
Is access token request request .